Starting Sab as a service

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
madlan
Release Testers
Release Testers
Posts: 40
Joined: October 8th, 2008, 7:08 am

Starting Sab as a service

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Starting Sab as a service

Post 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.
madlan
Release Testers
Release Testers
Posts: 40
Joined: October 8th, 2008, 7:08 am

Re: Starting Sab as a service

Post by madlan »

Do you record if the wizard has been run in the ini?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Starting Sab as a service

Post by shypike »

The Wizard runs as long as no Usenet server is defined.
madlan
Release Testers
Release Testers
Posts: 40
Joined: October 8th, 2008, 7:08 am

Re: Starting Sab as a service

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Starting Sab as a service

Post by shypike »

[servers]
[[news.newsserver.com:119]]
username = *****
name = news.newsserver.com:119
host = news.newsserver.com
port = 119
connections=1
Post Reply