mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Do not use a separate ini file for php pools (#548)
Have a look to https://github.com/YunoHost-Apps/nextcloud_ynh/issues/138 for more information.
This commit is contained in:
parent
09fcea1177
commit
41c1a9ce13
1 changed files with 1 additions and 5 deletions
|
@ -222,11 +222,7 @@ ynh_add_fpm_config () {
|
|||
|
||||
if [ -e "../conf/php-fpm.ini" ]
|
||||
then
|
||||
finalphpini="$fpm_config_dir/conf.d/20-$app.ini"
|
||||
ynh_backup_if_checksum_is_different "$finalphpini"
|
||||
sudo cp ../conf/php-fpm.ini "$finalphpini"
|
||||
sudo chown root: "$finalphpini"
|
||||
ynh_store_file_checksum "$finalphpini"
|
||||
echo "Please do not use a separate ini file, merge you directives in the pool file instead." &>2
|
||||
fi
|
||||
sudo systemctl reload $fpm_service
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue