1
0
Fork 0
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:
Josué Tille 2024-04-04 12:11:26 +02:00
parent 9382161b77
commit 50db151bfd
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5
2 changed files with 1 additions and 1 deletions

View file

@ -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"