HgO il y a 1 an
Parent
commit
b9a70f8c29
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      scripts/config

+ 2 - 2
scripts/config

@@ -234,7 +234,7 @@ ynh_app_config_apply() {
 
     # Stop vpn client
     ynh_print_info --message="Stopping vpnclient in order to edit files"
-    ynh_systemd_action --service_name="ynh-vpnclient-checker" --action="stop"
+    ynh_systemd_action --service_name="ynh-vpnclient-checker.timer" --action="stop"
     ynh_systemd_action --service_name="ynh-vpnclient" --action="stop"
 
     chown $app:$app /etc/openvpn/keys
@@ -255,7 +255,7 @@ ynh_app_config_apply() {
     # Start vpn client
     ynh_print_info --message="Starting vpnclient service if needed"
     ynh_systemd_action --service_name="ynh-vpnclient" --action="start"
-    ynh_systemd_action --service_name="ynh-vpnclient-checker" --action="start"
+    ynh_systemd_action --service_name="ynh-vpnclient-checker.timer" --action="start"
 }
 
 ynh_app_config_run $1