Page 1 of 1
Starting Sab as a service
Posted: March 12th, 2010, 4:59 pm
by madlan
Hi all,
I've setup SAB to start as a service (running with -b0 , when running through the wizard it starts a second process rather than restarting the original.
Anyone had this?
Thanks.
Re: Starting Sab as a service
Posted: March 13th, 2010, 4:13 am
by shypike
As you run the Wizard only once, I don't think this is a big problem.
Restart is a problem.
You cannot use SABnzbd's own restart function.
Instead, stop SABnzbd from its UI and use the Windows Service Manager to start it.
When SABnzbd runs as a service, it cannot really restart itself.
For 0.6.0 we are working on a real Windows service
which should be able to restart itself properly.
Re: Starting Sab as a service
Posted: March 13th, 2010, 11:09 am
by madlan
Do you record if the wizard has been run in the ini?
Re: Starting Sab as a service
Posted: March 13th, 2010, 2:08 pm
by shypike
The Wizard runs as long as no Usenet server is defined.
Re: Starting Sab as a service
Posted: March 13th, 2010, 2:29 pm
by madlan
So I could check the ini for name populated? Say, enable =1?
[servers]
[[news.newsserver.com:119]]
username = *****
enable = 1
name = news.newsserver.com:119
Re: Starting Sab as a service
Posted: March 13th, 2010, 6:29 pm
by shypike
[servers]
[[news.newsserver.com:119]]
username = *****
name = news.newsserver.com:119
host = news.newsserver.com
port = 119
connections=1