diff options
author | Donald Webster | 2019-11-22 10:34:47 -0800 |
---|---|---|
committer | Donald Webster | 2019-11-22 10:34:47 -0800 |
commit | 4ff773830e9164e37c8a01c557791c0a8950f746 (patch) | |
tree | 563090f27e1c667b97f3d6a90160f9d19cd6e0a8 /sabnzbd.install | |
parent | 4c2cdbdcf90ae6481af65dd8f7331debc16a5a9b (diff) | |
download | aur-4ff773830e9164e37c8a01c557791c0a8950f746.tar.gz |
Dont stop the service as part of package.
Diffstat (limited to 'sabnzbd.install')
-rw-r--r-- | sabnzbd.install | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sabnzbd.install b/sabnzbd.install index 8cb6bab0600b..9f07f5769a61 100644 --- a/sabnzbd.install +++ b/sabnzbd.install @@ -1,16 +1,6 @@ # Installation location of SABnzbd SABNZBD_DIR="/opt/sabnzbd" # should not be changed -## arg 1: the new package version -## arg 2: the old package version -pre_upgrade() { - PID="$(pgrep -f SABnzbd.py)" - - if [ -n "${PID}" ];then - systemctl stop sabnzbd.service - fi -} - ## arg 1: the old package version post_remove() { echo "==> There may be some files left in ${SABNZBD_DIR}." |