check fpm folder

This commit is contained in:
Kayou 2020-03-19 00:12:25 +01:00 committed by GitHub
parent 54da503c12
commit 7f756c7e67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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