1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/droppy_ynh.git synced 2024-09-03 18:26:27 +02:00
This commit is contained in:
ericgaspar 2021-09-04 08:51:49 +02:00
parent 5204b6e57b
commit 97cbdaa444
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 8 additions and 3 deletions

View file

@ -53,7 +53,7 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
# BACKUP DATADIR DIRECTORY
#=================================================
ynh_backup --src_path="$data_path"
ynh_backup --src_path="$data_path" --is_big
#=================================================
# BACKUP SYSTEMD

View file

@ -57,10 +57,15 @@ ynh_script_progression --message="Removing app main directory..." --weight=6
ynh_secure_remove --file="$final_path"
#=================================================
# REMOVE DATADIR DIRECTORY
# REMOVE DATA DIR
#=================================================
ynh_secure_remove --file="$data_path"
# # Remove the app data directory with the command `yunohost app remove --purge`
# if [ "${YNH_APP_PURGE:-0}" -eq 1 ]
# then
# ynh_script_progression --message="Removing $app data directory..." --weight=2
# ynh_secure_remove --file="$data_path"
# fi
#=================================================
# REMOVE NGINX CONFIGURATION