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