scale-catalog/update/organizr.sh
kjeld Schouten-Lebbing acd23d8798 some update fixes
2020-02-27 20:02:37 +01:00

11 lines
765 B
Bash
Executable File

iocage exec organizr service nginx stop
iocage exec organizr service php-fpm stop
iocage exec organizr pkg update && pkg upgrade -y
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