Update upgrade
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user