c32ea280da
* Fix all Scriptcheck errors on current dev code * clean recent plex changes
10 lines
487 B
Bash
Executable File
10 lines
487 B
Bash
Executable File
#!/usr/local/bin/bash
|
|
# This file contains the update script for sonarr
|
|
|
|
iocage exec sonarr service sonarr stop
|
|
#TODO insert code to update sonarr itself here
|
|
iocage exec sonarr chown -R sonarr:sonarr /usr/local/share/NzbDrone /config
|
|
# shellcheck disable=SC2154
|
|
cp "${SCRIPT_DIR}"/jails/sonarr/includes/sonarr.rc /mnt/"${global_dataset_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 |