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

emergency patch the backup script when there is no php version

This commit is contained in:
Kay0u 2022-01-17 15:43:38 +01:00
parent 5b963e27fd
commit 61b3fd2e09
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -51,7 +51,10 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
# BACKUP THE PHP-FPM CONFIGURATION
#=================================================
if [ $phpversion != "none" ]
then
ynh_backup --src_path="/etc/php/${phpversion}/fpm/pool.d/$app.conf"
fi
#=================================================
# BACKUP THE MYSQL DATABASE