From 9c851b39cb346b97cd2bc5290d4a081ebb8a6672 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 5 Jan 2020 23:27:00 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index afa2fa0..9297248 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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