mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
commit
caab800369
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue