Search found 3 matches

by Mr Fix It
November 17th, 2011, 10:31 pm
Forum: Feature Requests
Topic: SABnzbd and PID File under Linux
Replies: 24
Views: 21148

Re: SABnzbd and PID File under Linux

Yeah It's definitely possible to make things that work in the single-server case :). The only problem I see with it, is that it requires the init scripts to know information about the server. I know I could pass in the port to sab, but it seems odd to do this as wouldn't it overwrite what is written...
by Mr Fix It
November 17th, 2011, 8:56 am
Forum: Feature Requests
Topic: SABnzbd and PID File under Linux
Replies: 24
Views: 21148

Re: SABnzbd and PID File under Linux

But how do you know what file is created?. I'm not too familar with the gentoo bug tracker etc, nor how you've written the stuff. Actually, how does your script understand the pidfile. It actually looks like your using start-stop-daemon, which is creating a pidfile itself and your managing that. It ...
by Mr Fix It
November 17th, 2011, 2:12 am
Forum: Feature Requests
Topic: SABnzbd and PID File under Linux
Replies: 24
Views: 21148

Re: SABnzbd and PID File under Linux

Would it be possible to have the --pid argument take the actual PID file to write to, rather than a folder?. This is how most daemons work, so they will write the PID to the /var/run/sabnzbd.pid (or whatever you supply). This allows the same script to send the SIGTERM etc signals to the correct proc...