From caaa39c2e5574c2bc819f63cb5b9a11ba9f7996f Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Mon, 24 Feb 2020 19:27:12 +0100 Subject: [PATCH] fix nginx ownership --- organizr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/organizr.sh b/organizr.sh index c26a9f23..f367e22c 100755 --- a/organizr.sh +++ b/organizr.sh @@ -13,7 +13,7 @@ iocage exec organizr sed -i '' -e 's?;cgi.fix_pathinfo=1?cgi.fix_pathinfo=0?g' / mv /mnt/tank/iocage/jails/organizr/root/usr/local/etc/nginx/nginx.conf /mnt/tank/iocage/jails/organizr/root/usr/local/etc/nginx/nginx.conf.bak cp ./organizr-conf/inginx.conf /mnt/tank/iocage/jails/organizr/root/usr/local/etc/nginx/nginx.conf iocage exec organizr git clone https://github.com/causefx/Organizr.git /usr/local/www/Organizr -iocage exec organizr chown -R www:www /usr/local/www /config +iocage exec organizr chown -R www:www /usr/local/www /config /usr/local/etc/nginx/nginx.conf iocage exec organizr ln -s /config/config.php /usr/local/www/Organizr/api/config/config.php iocage exec organizr sysrc nginx_enable=YES iocage exec organizr sysrc php_fpm_enable=YES