1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/iceshrimp_ynh.git synced 2024-09-03 19:15:54 +02:00

Fix upgrade

This commit is contained in:
oufmilo 2023-12-29 16:00:57 +01:00
parent 9a98e27e10
commit aee86ede80

View file

@ -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
#=================================================