diff --git a/sub_scripts/testing_process.sh b/sub_scripts/testing_process.sh index ae7f34b..e56f9eb 100644 --- a/sub_scripts/testing_process.sh +++ b/sub_scripts/testing_process.sh @@ -1585,10 +1585,10 @@ set_witness_files () { create_witness_file "/var/log/witnessfile" file # Config fpm - if [ -d "${lxc_dir}/etc/php5" ]; then + if [ -d "${lxc_dir}/etc/php5/fpm" ]; then create_witness_file "/etc/php5/fpm/pool.d/witnessfile.conf" file fi - if [ -d "${lxc_dir}/etc/php/7.0" ]; then + if [ -d "${lxc_dir}/etc/php/7.0/fpm" ]; then create_witness_file "/etc/php/7.0/fpm/pool.d/witnessfile.conf" file fi @@ -1636,10 +1636,10 @@ check_witness_files () { check_file_exist "/var/log/witnessfile" # Config fpm - if [ -d "${lxc_dir}/etc/php5" ]; then + if [ -d "${lxc_dir}/etc/php5/fpm" ]; then check_file_exist "/etc/php5/fpm/pool.d/witnessfile.conf" file fi - if [ -d "${lxc_dir}/etc/php/7.0" ]; then + if [ -d "${lxc_dir}/etc/php/7.0/fpm" ]; then check_file_exist "/etc/php/7.0/fpm/pool.d/witnessfile.conf" file fi