update check_witness_files too

This commit is contained in:
Kay0u 2020-03-19 13:50:45 +01:00
parent 7f756c7e67
commit 21a81b07ff
No known key found for this signature in database
GPG key ID: 7FF262C033518333

View file

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