diff --git a/scripts/install b/scripts/install index d1c8765..5ecabdb 100644 --- a/scripts/install +++ b/scripts/install @@ -125,7 +125,7 @@ yunohost service add $app --description="Webmin Daemon" ynh_script_progression --message="Starting a systemd service..." # Start a systemd service -ynh_systemd_action --service_name=$app --action="start" --line_match="Started LSB" --log_path="systemd" +ynh_systemd_action --service_name=$app --action="restart" --line_match="Started LSB" --log_path="systemd" #================================================= # SETUP SSOWAT diff --git a/scripts/restore b/scripts/restore index f64bffc..aee406a 100755 --- a/scripts/restore +++ b/scripts/restore @@ -89,7 +89,7 @@ yunohost service add $app --description="Webmin Daemon" #================================================= ynh_script_progression --message="Starting a systemd service..." -ynh_systemd_action --service_name=$app --action="start" --line_match="Started LSB" --log_path="systemd" +ynh_systemd_action --service_name=$app --action="restart" --line_match="Started LSB" --log_path="systemd" #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index 10fc255..0862d4b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -130,7 +130,7 @@ yunohost service add $app --description="Webmin Daemon" #================================================= ynh_script_progression --message="Starting a systemd service..." -ynh_systemd_action --service_name=$app --action="start" --line_match="Started LSB" --log_path="systemd" +ynh_systemd_action --service_name=$app --action="restart" --line_match="Started LSB" --log_path="systemd" #================================================= # RELOAD NGINX