scale-catalog/update/organizr.sh
kjeld Schouten-Lebbing 5f78bd5615 use iocage update
2020-02-27 20:06:16 +01:00

11 lines
738 B
Bash
Executable File

iocage exec organizr service nginx stop
iocage exec organizr service php-fpm stop
iocage update organizr
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 ../includes/organizr-conf/nginx.conf /mnt/tank/iocage/jails/organizr/root/usr/local/etc/nginx/nginx.conf
cp ../includes/organizr-conf/custom /mnt/tank/iocage/jails/organizr/root/usr/local/etc/nginx/custom
iocage exec tautulli cd /usr/local/www/Organizr
iocage exec organizr git pull
iocage exec organizr chown -R www:www /usr/local/www /config /usr/local/etc/nginx/nginx.conf /usr/local/etc/nginx/custom
iocage exec organizr service nginx start
iocage exec organizr service php-fpm start