Update upgrade
This commit is contained in:
parent
faeed54d0f
commit
9c851b39cb
@ -86,6 +86,10 @@ ynh_print_info --message="Backing up the app before upgrading (may take a while)
|
||||
|
||||
# Backup the current version of the app
|
||||
ynh_backup_before_upgrade
|
||||
|
||||
#Workaround to be remove in next version
|
||||
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd"
|
||||
|
||||
ynh_clean_setup () {
|
||||
# restore it if the upgrade fails
|
||||
ynh_restore_upgradebackup
|
||||
|
Loading…
x
Reference in New Issue
Block a user