mirror of
https://github.com/YunoHost-Apps/wordpress_ynh.git
synced 2024-09-03 20:36:10 +02:00
Update scripts/restore
Co-authored-by: Kayou <pierre@kayou.io>
This commit is contained in:
parent
60d0140a66
commit
628ae1fd39
1 changed files with 4 additions and 0 deletions
|
@ -97,6 +97,10 @@ chown root: $final_path/wp-config.php
|
|||
# RESTORE THE PHP-FPM CONFIGURATION
|
||||
#=================================================
|
||||
|
||||
# Restore the file first, so it can have a backup if different
|
||||
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
|
||||
|
||||
# Recreate a dedicated php-fpm config
|
||||
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint --package="$extra_php_dependencies"
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue