diff --git a/scripts/install b/scripts/install index ff372d9..be37296 100644 --- a/scripts/install +++ b/scripts/install @@ -78,6 +78,7 @@ ynh_replace_string "__PORT__" "$port" "/etc/default/shellinabox" # Allow the service to log in syslog ynh_replace_string " -- -q --background" " -- --background" "/etc/init.d/shellinabox" +systemctl daemon-reload systemctl restart shellinabox diff --git a/scripts/restore b/scripts/restore index e728df0..a54f2df 100644 --- a/scripts/restore +++ b/scripts/restore @@ -56,6 +56,7 @@ ynh_restore_file "/etc/default/shellinabox" # Allow the service to log in syslog ynh_replace_string " -- -q --background" " -- --background" "/etc/init.d/shellinabox" +systemctl daemon-reload systemctl restart shellinabox