Page 1 of 1

Running as service, how to stop the web gui loading at startup? [Solved]

Posted: February 13th, 2008, 9:07 pm
by zonky
I run the .exe as a service, and this works fine. However, firefox.exe is being loaded as well, i assume to being the default www handler.

I assume this is because when you run sabnzbd.exe, it also fires up the gui via a browser.

Is there anyway to supress this behaviour at startup? I don't want or need firefox running and taking up memory.

Re: Running as service, how to stop the web gui loading at startup?

Posted: February 13th, 2008, 9:10 pm
by zonky
OOps, so i need to add to the launch paramaters: -b 0

http://sabnzbdplus.wiki.sourceforge.net ... parameters

Re: Running as service, how to stop the web gui loading at startup? [Solved]

Posted: February 14th, 2008, 4:14 am
by shypike
BTW you should use SABnzbd-console.exe and not SABnzbd.exe when running as a service.
SABnzbd.exe will be terminated as soon as you log out, SABnzbd-console.exe will not.

Re: Running as service, how to stop the web gui loading at startup? [Solved]

Posted: February 14th, 2008, 4:39 am
by jeff_porter
thanks for the tips guys.

;D

Re: Running as service, how to stop the web gui loading at startup? [Solved]

Posted: February 14th, 2008, 2:29 pm
by zonky
Admittidly, i am running the service with an created sabnzbd user account, not the system process.

But when no user is logged in the service does run.

I'm using XYNTservice to wrap the executable

http://www.codeproject.com/KB/system/xyntservice.aspx

& here is my xyntservice.ini

Code: Select all

[Settings] 
ServiceName=SABnzbdService 
CheckProcessSeconds = 60  
[Process0] 
CommandLine = C:\Program Files\SABnzbd\0.3.1\SABnzbd.exe -b 0
WorkingDir= C:\Program Files\SABnzbd\0.3.1 
PauseStart= 5000  
PauseEnd= 5000  
UserInterface = Yes  
Restart = Yes