Merge pull request #81 from YunoHost/buster_witness

Update testing_process.sh
This commit is contained in:
Kayou 2020-08-14 23:30:05 +02:00 committed by GitHub
commit 6bf299d476
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2115,6 +2115,9 @@ set_witness_files () {
if [ -d "${lxc_dir}/etc/php/7.0/fpm" ]; then if [ -d "${lxc_dir}/etc/php/7.0/fpm" ]; then
create_witness_file "/etc/php/7.0/fpm/pool.d/witnessfile.conf" file create_witness_file "/etc/php/7.0/fpm/pool.d/witnessfile.conf" file
fi fi
if [ -d "${lxc_dir}/etc/php/7.3/fpm" ]; then
create_witness_file "/etc/php/7.3/fpm/pool.d/witnessfile.conf" file
fi
# Config logrotate # Config logrotate
create_witness_file "/etc/logrotate.d/witnessfile" file create_witness_file "/etc/logrotate.d/witnessfile" file
@ -2166,6 +2169,9 @@ check_witness_files () {
if [ -d "${lxc_dir}/etc/php/7.0/fpm" ]; then if [ -d "${lxc_dir}/etc/php/7.0/fpm" ]; then
check_file_exist "/etc/php/7.0/fpm/pool.d/witnessfile.conf" file check_file_exist "/etc/php/7.0/fpm/pool.d/witnessfile.conf" file
fi fi
if [ -d "${lxc_dir}/etc/php/7.3/fpm" ]; then
check_file_exist "/etc/php/7.3/fpm/pool.d/witnessfile.conf" file
fi
# Config logrotate # Config logrotate
check_file_exist "/etc/logrotate.d/witnessfile" check_file_exist "/etc/logrotate.d/witnessfile"