scale-catalog/update/radarr.sh

10 lines
711 B
Bash
Raw Normal View History

2020-02-27 18:58:24 +00:00
iocage exec radarr service radarr stop
2020-02-27 19:06:16 +00:00
iocage update radarr
2020-02-27 19:16:19 +00:00
iocage exec radarr "pkg update && pkg upgrade -y"
2020-02-27 18:58:24 +00:00
iocage exec radarr "fetch https://github.com/Radarr/Radarr/releases/download/v0.2.0.1480/Radarr.develop.0.2.0.1480.linux.tar.gz -o /usr/local/share"
iocage exec radarr "tar -xzvf /usr/local/share/Radarr.develop.0.2.0.1480.linux.tar.gz -C /usr/local/share"
iocage exec radarr rm /usr/local/share/Radarr.develop.0.2.0.1480.linux.tar.gz
iocage exec radarr chown -R radarr:radarr /usr/local/share/Radarr /config
cp ../includes/radarr-conf/radarr.rc /mnt/tank/iocage/jails/radarr/root/usr/local/etc/rc.d/radarr
iocage exec radarr chmod u+x /usr/local/etc/rc.d/radarr
iocage exec radarr service radarr start