how to remove automatic browser lauch

Get help with all aspects of SABnzbd

how to remove automatic browser lauch

Postby guardianx » February 16th, 2008, 11:43 pm

is it possible to stop sab from lauching firefox when i start the program ?
because i set up sab as a service according to this tut.. http://sabnzbdplus.wiki.sourceforge.net/Windows+service
and firefox give me the firefox is already running but is not responding error.  so i had to alt+crt+del.. it is getting annoying and i dont know how to fix it.. 

thanx
Last edited by guardianx on February 17th, 2008, 12:31 am, edited 1 time in total.
guardianx
Newbie
Newbie
 
Posts: 12
Joined: February 3rd, 2008, 2:50 pm

Re: how to remove automatic browser lauch

Postby shypike » February 17th, 2008, 6:56 am

If you set up SABnzbd to run as a service, always use the --daemon option.
This is an absolutely essential option to use for services.

Read the Wiki page on commandline optiio ns for more info.
User avatar
shypike
Administrator
Administrator
 
Posts: 16723
Joined: January 18th, 2008, 1:49 pm

Re: how to remove automatic browser lauch

Postby guardianx » February 17th, 2008, 7:41 am

how would i go about adding the  - b 0 option to the service?
guardianx
Newbie
Newbie
 
Posts: 12
Joined: February 3rd, 2008, 2:50 pm

Re: how to remove automatic browser lauch

Postby shypike » February 17th, 2008, 7:44 am

You don't need -b0, use -d (or --daemon).

I quote from forum member "Usenet":

Create an 'AppParameters' value of type REG_SZ and specify the parameters for your app.
For Example: AppParameters: REG_SZ: -d -f C:\bin\sabnzbd.ini

Doing this you can skip running startup scrips etc..
User avatar
shypike
Administrator
Administrator
 
Posts: 16723
Joined: January 18th, 2008, 1:49 pm

Re: how to remove automatic browser lauch

Postby guardianx » February 17th, 2008, 8:02 am

when i edit the value in regedit

C:\Program Files\SABnzbd\SABnzbd.exe

to

-d -f C:\Program Files\SABnzbd\SABnzbd.exe

and restart.. sab doesnt work anymore as a service
Last edited by guardianx on February 17th, 2008, 8:05 am, edited 1 time in total.
guardianx
Newbie
Newbie
 
Posts: 12
Joined: February 3rd, 2008, 2:50 pm

Re: how to remove automatic browser lauch

Postby Usenet » February 17th, 2008, 6:45 pm

What i meant was that you should add an additional parameter to the registry, where you store the switches..
Keep the ones you got, pointing out the directory and one pointing out the executable. Then add "my" where you point out the switch for running in daemon mode. OK?
Usenet
Jr. Member
Jr. Member
 
Posts: 84
Joined: February 12th, 2008, 7:04 pm

Re: how to remove automatic browser lauch

Postby bugmenot » February 17th, 2008, 10:39 pm

guardianx wrote:is it possible to stop sab from lauching firefox when i start the program ?

You can just set auto_browser to 0 in sabnzbd.ini.
bugmenot
Full Member
Full Member
 
Posts: 102
Joined: January 30th, 2008, 10:25 pm


Return to General Help