diff --git a/scripts/upgrade b/scripts/upgrade index 3e51751..64b0771 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -72,6 +72,12 @@ ynh_clean_setup () { # Exit if an error occurs during the execution of the script ynh_abort_if_errors +#================================================= +# STOP SERVICE +#================================================= + +ynh_systemd_action --action=stop --service_name=$app --log_path=systemd + #================================================= # STANDARD UPGRADE STEPS #=================================================