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

Check_process with fail upgrade

This commit is contained in:
Krakinou 2018-12-28 13:26:14 +01:00
parent a780b18493
commit a59ec55200

View file

@ -21,24 +21,23 @@
incorrect_path=1
port_already_use=1 (8083)
change_url=1
#;; Failed upgrade
#Run to trigger an error during upgrade to check backup_restore
# ; pre-install
# touch /tmp/upgrade_error
# ; Manifest
# domain="domain.tld" (DOMAIN)
# path="/calibre" (PATH)
# calibre_path="/home/yunohost.app/calibreweb"
# admin="john" (USER)
# language="en"
# is_public=0 (PUBLIC|public=1|private=0)
# upload=1
# password="a very long password"
# ; Checks
# setup_sub_dir=1
# setup_root=1
# upgrade=1
# upgrade=1 from_commit=3b9c5041e4fa73cb965368379f2b83d076c65341
;; Failed upgrade
Run to trigger an error during upgrade to check backup_restore
; pre-install
touch /tmp/upgrade_error
; Manifest
domain="domain.tld" (DOMAIN)
path="/calibre" (PATH)
calibre_path="/home/yunohost.app/calibreweb"
admin="john" (USER)
language="en"
is_public=0 (PUBLIC|public=1|private=0)
upload=1
password="a very long password"
; Checks
setup_sub_dir=1
setup_root=1
upgrade=1 from_commit=3b9c5041e4fa73cb965368379f2b83d076c65341
;;; Levels
Level 1=auto
Level 2=auto
@ -56,6 +55,6 @@ Notification=none
;;; Upgrade options
; commit=3b9c5041e4fa73cb965368379f2b83d076c65341
name=First in progress release of the app 0.9~ynh1
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&password=pass&is_public=0&
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&password=pass&is_public=1&