Page 1 of 1

sabnzbd with ubuntuserver 8.10

Posted: January 27th, 2009, 3:35 pm
by macme
My question
I installed sabnzbd 0.4.2, working good no problems, but i need to have another computer logt in with Putty (SSH terminal) with the line #cd SABnzbd-0.4.2
and then ./SABnzbd.py -b0 -s 192.168.1.71:7777 to activate the server, is there another way to solve this matter????

Re: sabnzbd with ubuntuserver 8.10

Posted: January 27th, 2009, 3:40 pm
by shypike
Yes, run it as a daemon (-d). Else it terminates as you close the terminal session.
Check out the Wiki !

Re: sabnzbd with ubuntuserver 8.10

Posted: January 27th, 2009, 4:07 pm
by macme
Is there not a start script that i can put in "Bootup and Shutdown" from my server?

./SABnzbd.py -d0 -s 192.168.1.71:7777 no effect

how to do this???

-d --daemon Start in daemon mode Startup and run in without a terminal window and do not start the browser. Do NOT assume that the user profile can be used. You must either use the -f option of have the INI file in the program directory.

Re: sabnzbd with ubuntuserver 8.10

Posted: January 27th, 2009, 4:28 pm
by shypike
First, it's -d not -d0
Are you sure it has no effect? The effect is that it runs in the background (so invisible for the terminal).
Check with  ps -A | grep SAB

For an example init.d script, see: http://sabnzbd.wikidot.com/install-as-a-unix-daemon
Or use the unoffical Ubuntu repository by JCFP: http://sabnzbd.wikidot.com/install-ubuntu-repo
It has init.d support also.