Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Auto start SABNZBD+

Got problems with your B2 or B3? Share and get helped!
Post Reply
RoBo
Posts: 10
Joined: 13 Jul 2009, 09:41

Auto start SABNZBD+

Post by RoBo »

I installed SABNZBD+ and its working perfect, the only problem is when i restart the Bubba server SABNZBD+ doesn't start. I have to start SABNZBD+ manually. Is there a solution to autostart SABNZBD+? For the one's who are looking for a way to install SABNZBD+ i followed the steps on the following link:
http://www.thibernet.com/442-install-sa ... adynas-duo
Binkem
Posts: 388
Joined: 10 Jul 2008, 02:26

Re: Auto start SABNZBD+

Post by Binkem »

From:

http://forum.excito.net/viewtopic.php?f ... 8631#p8631
to use as a service (recommended), add this to /etc/init.d/sabnzbdplus

Code: Select all

#!/bin/sh

case "$1" in
start)
echo "Starting SABnzbd."
/usr/bin/sudo -u *USER* -H /home/*USER*/SABnzbd-0.4.11/SABnzbd.py -d -f /home/*USER*/.sabnzbd/sabnzbd.ini
;;
stop)
echo "Shutting down SABnzbd."
/usr/bin/wget -q --delete-after "http://localhost:*YOUR PORT*/sabnzbd/api?mode=shutdown&apikey=5eedee1566e5d764661a4c96498b98a0"
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac

exit 0
Change *USER* and *YOUR PORT* to whatever you are using.

then make the script executable by using

Code: Select all

chmod u+x /etc/init.d/sabnzbdplus

Martijn
RoBo
Posts: 10
Joined: 13 Jul 2009, 09:41

Re: Auto start SABNZBD+

Post by RoBo »

Hi Martijn,

i did that but it won't work, any other sugestions?

Regards

Rob
Post Reply