autostart sab-daemon with proxychains

Support for the Debian/Ubuntu package, created by JCFP.
Forum rules
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.
Post Reply
razorhail
Newbie
Newbie
Posts: 12
Joined: June 4th, 2011, 3:41 am

autostart sab-daemon with proxychains

Post by razorhail »

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?
krackt
Newbie
Newbie
Posts: 37
Joined: December 29th, 2010, 7:15 am

Re: autostart sab-daemon with proxychains

Post by krackt »

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.
razorhail
Newbie
Newbie
Posts: 12
Joined: June 4th, 2011, 3:41 am

Re: autostart sab-daemon with proxychains

Post by razorhail »

what do I do until then? :)

I _need_ to route all my connections through this proxy - otherwise I can't really use sab
krackt
Newbie
Newbie
Posts: 37
Joined: December 29th, 2010, 7:15 am

Re: autostart sab-daemon with proxychains

Post by krackt »

razorhail
Newbie
Newbie
Posts: 12
Joined: June 4th, 2011, 3:41 am

Re: autostart sab-daemon with proxychains

Post by razorhail »

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"
User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: autostart sab-daemon with proxychains

Post by jcfp »

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.
Post Reply