diff --git a/scripts/upgrade b/scripts/upgrade index 8815730..1b3aae2 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -59,3 +59,12 @@ ynh_add_nginx_config #================================================= systemctl reload nginx + +#================================================= +# ALLOW THE SERVICE TO LOG IN SYSLOG +#================================================= + +ynh_replace_string " -- -q --background" " -- --background" "/etc/init.d/shellinabox" +systemctl daemon-reload + +systemctl restart shellinabox