scale-catalog/update/sonarr.sh
2020-02-27 20:42:01 +01:00

7 lines
381 B
Bash
Executable File

iocage exec sonarr service sonarr stop
iocage update sonarr
iocage exec sonarr "pkg update && pkg upgrade -y"
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