From 49dd8bd6775c8ed1092be786097b17a4d5e26079 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Thu, 8 Mar 2018 00:51:15 +0100 Subject: [PATCH] systemctl daemon-reload --- scripts/install | 1 + scripts/restore | 1 + 2 files changed, 2 insertions(+) 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