|
@@ -86,4 +86,7 @@ sudo rm -rf ${tmpdir}
|
|
ynh_systemctl reload php5-fpm
|
|
ynh_systemctl reload php5-fpm
|
|
ynh_systemctl reload nginx
|
|
ynh_systemctl reload nginx
|
|
|
|
|
|
-ynh_systemctl restart ynh-vpnclient
|
|
|
|
|
|
+if systemctl is-active ynh-vpnclient >/dev/null;
|
|
|
|
+then
|
|
|
|
+ ynh_systemctl restart ynh-vpnclient
|
|
|
|
+fi
|