Ensure pool.d folders after template changes

This commit is contained in:
myvesta 2021-12-12 17:25:19 +01:00 committed by GitHub
parent 3c17e159a1
commit 9c04bb8417
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -225,6 +225,10 @@ add_web_config() {
$user $domain $local_ip $HOMEDIR \
$HOMEDIR/$user/web/$domain/public_html
fi
if [[ "$2" =~ ^PHP-FPM ]]; then
ensure_poold_folders_not_empty
fi
}
# Get config top and bottom line number