Page 1 of 1

Service update always needed?

Posted: June 9th, 2016, 10:34 am
by asarian
Just a quick noob question. :)

Do you need to update the service for *every* config change you make? (Like to some switches). Like running:

SABnzbd-service.exe -f "C:\Program Files (x86)\SABnzbd" --server 0.0.0.0:8080 update

Thanks.

Re: Service update always needed?

Posted: June 10th, 2016, 12:10 am
by asarian
There's gotta be someone who knows this. :)

Also, is there any good reason why SABnzbd, running as service, wouldn't be able to read its own config file on restarts?

Re: Service update always needed?

Posted: June 10th, 2016, 1:27 am
by safihre
The problem is that it's not given the direct path to the INI, so that's why you need to tell it.

From what I get from the code, the update is only nessecary when you change any of the command-line options (http://wiki.sabnzbd.org/command-line-parameters)
Because with these options it get's saved in the windows-services-registry.
So not for Switches of course.

Re: Service update always needed?

Posted: June 10th, 2016, 1:51 am
by asarian
Ah, thank you kindly! :)