1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_webapp_ynh.git synced 2024-09-03 19:46:26 +02:00

Update backup: remove unecessary code for custom error page, the .d folder is already backuped/restored

This commit is contained in:
Alexandre Aubin 2024-05-09 16:32:26 +02:00 committed by GitHub
parent 0540f194c8
commit 17aa532b66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,15 +36,6 @@ then
ynh_backup --src_path="/etc/php/${phpversion}/fpm/pool.d/$app.conf" ynh_backup --src_path="/etc/php/${phpversion}/fpm/pool.d/$app.conf"
fi fi
#=================================================
# BACKUP CUSTOM CONF
#=================================================
if [ $custom_error_file ]
then
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.d/error-code.conf"
fi
#================================================= #=================================================
# BACKUP THE MYSQL DATABASE # BACKUP THE MYSQL DATABASE
#================================================= #=================================================