From 05716c1f4453dfc35e479c0ab11d13292475c9dd Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Tue, 4 Mar 2025 11:03:35 -0800 Subject: [PATCH] check for cgi-wrap --- bin/vhost-exp.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bin/vhost-exp.sh b/bin/vhost-exp.sh index b920f8f..7063e65 100755 --- a/bin/vhost-exp.sh +++ b/bin/vhost-exp.sh @@ -149,6 +149,14 @@ if [[ -d /srv/www/$domain ]]; then echo "vhost-enable.sh -m VHostHTTPS -d $domain" fi + # cgi-wrapper + if [[ -d /usr/jails/$username ]]; then + if [[ -d /usr/local/lib/cgi-wrap/$domain ]]; then + echo "vhost-cgi-wrap.sh -d $domain" + echo "jk_init -k -j /usr/jails/$username perl" + fi + fi + echo echo "NOTE: check for PHP version changes on the on new server and an custom php-fpm configs in /srv/www/$domain/.exp/etc/php/ from the old server"