autostart sab-daemon with proxychains
Posted: November 27th, 2012, 5:47 pm
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?
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?