1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wikijs_ynh.git synced 2024-09-03 20:36:09 +02:00

Update upgrade

This commit is contained in:
yalh76 2020-01-05 23:27:00 +01:00
parent faeed54d0f
commit 9c851b39cb

View file

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