I'm running a ubuntu server on a machine, that has sabnzbd installed.
however, I need to reroute all the connections through a http proxy.
usually i do that with proxychains (I start sab with the command "proxychains sabnzbdplus")
but I want sab to autostart as a service when I boot the machine.
how can I change the regular sabnzbdplus service so it ALWAYS starts via proxychains?
I've already tried to edit the sabnzbdplus-file in /etc/init.d/
however I'm not sure which line to change...
is there a general approach on how to change the service startup-command of applications?
autostart sab-daemon with proxychains
Forum rules
Help us help you:
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.
Re: autostart sab-daemon with proxychains
Debian and derivatives are replacing SysV with Upstart. Upstart will easily do what you require. Hopefully the sab deb packages will support Upstart sometime soon.
Re: autostart sab-daemon with proxychains
what do I do until then?
I _need_ to route all my connections through this proxy - otherwise I can't really use sab
I _need_ to route all my connections through this proxy - otherwise I can't really use sab
Re: autostart sab-daemon with proxychains
I might have misunderstood you...
but I thought u meant that upstart currently doesn't work with sab - since you said "I hope ....sab will support upstart soon"
but I thought u meant that upstart currently doesn't work with sab - since you said "I hope ....sab will support upstart soon"
Re: autostart sab-daemon with proxychains
Whether upstart or sysv-init: integrating something like proxychains is unlikely to ever be part of the regular init script distributed in the normal packaging. So if you want it, start scripting/modifying.