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:
parent
faeed54d0f
commit
9c851b39cb
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue