mirror of
https://github.com/YunoHost-Apps/monitorix_ynh.git
synced 2024-09-03 19:46:06 +02:00
Bypass php error on linter as this code is an override of existing pool so it don't need to set user
This commit is contained in:
parent
9382161b77
commit
50db151bfd
2 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ config_php_fpm() {
|
|||
pool_version=$(echo "$pool_dir_by_version" | cut -d/ -f4)
|
||||
pool_file="/etc/php/$pool_version/fpm/pool.d/${app}_status.conf"
|
||||
if ynh_package_is_installed --package="php$pool_version-fpm"; then
|
||||
ynh_add_jinja_config --template=php_status.conf --destination="$pool_file"
|
||||
ynh_add_jinja_config --template=_php_status.conf --destination="$pool_file"
|
||||
|
||||
chown root:root "$pool_file"
|
||||
chmod 444 "$pool_file"
|
||||
|
|
Loading…
Reference in a new issue