At the end of the upgrade, restart vpnclient only if it's already active
This commit is contained in:
parent
1c06d02d49
commit
2f04d16d4f
@ -86,4 +86,7 @@ sudo rm -rf ${tmpdir}
|
||||
ynh_systemctl reload php5-fpm
|
||||
ynh_systemctl reload nginx
|
||||
|
||||
ynh_systemctl restart ynh-vpnclient
|
||||
if systemctl is-active ynh-vpnclient >/dev/null;
|
||||
then
|
||||
ynh_systemctl restart ynh-vpnclient
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user