diff options
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}." |