Remove old hack for vpnclient

This commit is contained in:
Alexandre Aubin 2021-06-12 18:02:12 +02:00
parent 82812bac2f
commit 0843d35cc5

View file

@ -653,9 +653,6 @@ def _get_services():
# Dirty hack to check the status of ynh-vpnclient
if "ynh-vpnclient" in services:
status_check = "systemctl is-active openvpn@client.service"
if "test_status" not in services["ynh-vpnclient"]:
services["ynh-vpnclient"]["test_status"] = status_check
if "log" not in services["ynh-vpnclient"]:
services["ynh-vpnclient"]["log"] = ["/var/log/ynh-vpnclient.log"]