mirror of
https://github.com/YunoHost-Apps/flohmarkt_ynh.git
synced 2024-09-03 18:36:30 +02:00
settings missing
This commit is contained in:
parent
d043e17111
commit
4ed2165307
2 changed files with 6 additions and 0 deletions
|
@ -10,6 +10,7 @@ ynh_backup --src_path="/etc/fail2ban/jail.d/$app.conf"
|
|||
ynh_backup --src_path="/etc/fail2ban/filter.d/$app.conf"
|
||||
ynh_backup --src_path="/etc/logrotate.d/$app"
|
||||
ynh_backup --src_path="/opt/couchdb/etc/local.d/05-flohmarkt.ini"
|
||||
ynh_backup --src_path="/etc/yunohost/apps/$app"
|
||||
|
||||
# for the following backups we'll want to stop flohmarkt and couchdb
|
||||
# to guarentee a consistant state
|
||||
|
|
|
@ -7,6 +7,11 @@ source /usr/share/yunohost/helpers
|
|||
ynh_script_progression --message="Restoring the app main directory..." --weight=10
|
||||
ynh_restore_file --origin_path="$install_dir"
|
||||
|
||||
# restore the apps settings
|
||||
ynh_script_progression --message="Restoring flohmarkts settings..." --weight=1
|
||||
ynh_restore_file --origin_path="/etc/yunohost/apps/$app"
|
||||
|
||||
|
||||
# RESTORE THE DATA DIRECTORY
|
||||
ynh_script_progression --message="Restoring the data directory..." --weight=1
|
||||
ynh_restore_file --origin_path="$data_dir" --not_mandatory
|
||||
|
|
Loading…
Add table
Reference in a new issue