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

Added php-fpm in restore

This commit is contained in:
anmol26s 2018-06-19 08:37:28 +05:30
parent 3b4149b112
commit fa4f4b8f03

View file

@ -95,6 +95,13 @@ cd $final_path && sudo /usr/bin/php7.1 artisan migrate --force
# Restore permissions on app files
chown -R $app: $final_path
#=================================================
# RESTORE THE PHP-FPM CONFIGURATION
#=================================================
ynh_restore_file "/etc/php/7.1/fpm/pool.d/$app.conf"
ynh_restore_file "/etc/php/7.1/fpm/conf.d/20-$app.ini"
#=================================================
# RESTORE THE CRON FILE
#=================================================