diff --git a/scripts/upgrade b/scripts/upgrade index a87c435..e07be0c 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -27,7 +27,7 @@ upgrade_type=$(ynh_check_app_version_changed) ynh_script_progression --message="Stopping a systemd service..." --weight=1 # Stop service before backup, to not loose message in case of failed upgrade and restore -ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd --line_match="Stopped" +ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP @@ -138,7 +138,6 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1 ynh_systemd_action --service_name=$app --action="start" --log_path=systemd - #================================================= # END OF SCRIPT #=================================================