At the end of the upgrade, restart vpnclient only if it's already active
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user