scale-catalog/update/organizr.sh

11 lines
738 B
Bash
Raw Normal View History

2020-02-27 18:58:24 +00:00
iocage exec organizr service nginx stop
iocage exec organizr service php-fpm stop
2020-02-27 19:06:16 +00:00
iocage update organizr
2020-02-27 18:58:24 +00:00
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