From 50db151bfd85b829a1d8795829a29129c2789474 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Thu, 4 Apr 2024 12:11:26 +0200 Subject: [PATCH] Bypass php error on linter as this code is an override of existing pool so it don't need to set user --- conf/{php_status.conf => _php_status.conf} | 0 scripts/_common.sh | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename conf/{php_status.conf => _php_status.conf} (100%) diff --git a/conf/php_status.conf b/conf/_php_status.conf similarity index 100% rename from conf/php_status.conf rename to conf/_php_status.conf diff --git a/scripts/_common.sh b/scripts/_common.sh index efaa543..331ae18 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -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"