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

9 lines
676 B
Bash
Executable File

iocage exec jackett service jackett stop
iocage exec jackett pkg update && pkg upgrade -y
iocage exec jackett "fetch https://github.com/Jackett/Jackett/releases/download/v0.11.502/Jackett.Binaries.Mono.tar.gz -o /usr/local/share"
iocage exec jackett "tar -xzvf /usr/local/share/Jackett.Binaries.Mono.tar.gz -C /usr/local/share"
iocage exec jackett rm /usr/local/share/Jackett.Binaries.Mono.tar.gz
iocage exec jackett chown -R jackett:jackett /usr/local/share/Jackett /config
cp ../includes/jackett-conf/jackett.rc /mnt/tank/iocage/jails/jackett/root/usr/local/etc/rc.d/jackett
iocage exec jackett chmod u+x /usr/local/etc/rc.d/jackett
iocage exec jackett service jackett start