scale-catalog/update/sonarr.sh

7 lines
381 B
Bash
Raw Normal View History

2020-02-27 18:58:24 +00:00
iocage exec sonarr service sonarr stop
2020-02-27 19:06:16 +00:00
iocage update sonarr
2020-02-27 19:16:19 +00:00
iocage exec sonarr "pkg update && pkg upgrade -y"
2020-02-27 18:58:24 +00:00
iocage exec sonarr chown -R sonarr:sonarr /usr/local/share/NzbDrone /config
cp ../includes/sonarr-conf/sonarr.rc /mnt/tank/iocage/jails/sonarr/root/usr/local/etc/rc.d/sonarr
iocage exec sonarr chmod u+x /usr/local/etc/rc.d/sonarr
iocage exec sonarr service sonarr restart