From 22d9ba284b383a761af564feac6186be46a92566 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Thu, 7 Sep 2017 20:49:12 +0200 Subject: [PATCH] You've seen nothing ;) --- sub_scripts/testing_process.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sub_scripts/testing_process.sh b/sub_scripts/testing_process.sh index a952265..1f6a1e2 100644 --- a/sub_scripts/testing_process.sh +++ b/sub_scripts/testing_process.sh @@ -1332,10 +1332,10 @@ set_witness_files () { create_witness_file "/var/log/witnessfile" file # Config fpm - if [ -d "/etc/php5" ]; then + if [ -d "${lxc_dir}/etc/php5" ]; then create_witness_file "/etc/php5/fpm/pool.d/witnessfile.conf" file fi - if [ -d "/etc/php/7.0" ]; then + if [ -d "${lxc_dir}/etc/php/7.0" ]; then create_witness_file "/etc/php/7.0/fpm/pool.d/witnessfile.conf" file fi @@ -1383,10 +1383,10 @@ check_witness_files () { check_file_exist "/var/log/witnessfile" # Config fpm - if [ -d "/etc/php5" ]; then + if [ -d "${lxc_dir}/etc/php5" ]; then check_file_exist "/etc/php5/fpm/pool.d/witnessfile.conf" file fi - if [ -d "/etc/php/7.0" ]; then + if [ -d "${lxc_dir}/etc/php/7.0" ]; then check_file_exist "/etc/php/7.0/fpm/pool.d/witnessfile.conf" file fi