Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: Launch Privoxy on start-up via launchd Internet
Privoxy v3.0.6, as installed through the Tor & Privoxy & Vidalia bundle (version 0.1.2.17), does not launch automatically on start-up. A workaround is to create a file named org.privoxy.plist in /Library/LaunchDaemons that contains the following code:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>Label</key>
        <string>org.privoxy</string>
        <key>Program</key>
        <string>/Library/Privoxy/StartPrivoxy.command</string>
        <key>RunAtLoad</key>
        <true/>
</dict>
</plist>

Then execute:
$ sudo chown root:wheel /Library/LaunchDaemons/org.privoxy.plist
$ sudo chmod 700 /Library/LaunchDaemons/org.privoxy.plist
This is hardly ideal; I believe a better solution would set launchd to listen to port 8118 and then launch privoxy on demand.

[robg adds: I haven't tested this one.]
    •    
  • Currently 2.50 / 5
  You rated: 1 / 5 (8 votes cast)
 
[14,368 views]  

10.4: Launch Privoxy on start-up via launchd | 5 comments | Create New Account
Click here to return to the '10.4: Launch Privoxy on start-up via launchd' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Launch Privoxy on start-up via launchd
Authored by: robg on Oct 18, '07 08:52:46AM
Via email, I just received this:
This hint misses the mark, because it seems the submitter doesn't understand that you don't need Vidalia at all, and it really doesn't do anything under OS X. But in actual fact, Tor and Privoxy do launch on startup of your Mac if you install just those two items after downloading the "For experts only" package for your system at http://tor.eff.org/download-osx.html.en.
-rob.

[ Reply to This | # ]
10.4: Launch Privoxy on start-up via launchd
Authored by: bed124 on Oct 18, '07 11:05:48AM
If you're looking for a GUI-based approach, take a look at Proxifier.

[ Reply to This | # ]
10.4: Launch Privoxy on start-up via launchd
Authored by: etresoft on Oct 18, '07 07:10:39PM
Another option is to just install Privoxy from the SourceForge project page. Not only will it run on startup, as an unprivileged user instead of root, it will be a Universal Binary too! Disclaimer: I'm the packager for the MacOS X version of Privoxy, so perhaps I'm biased. It does currently use StartupItems instead of launchd, but it doesn't make any difference until I can get RunOnDemand working.

[ Reply to This | # ]
10.4: Launch Privoxy on start-up via launchd
Authored by: DrLeonP on Mar 01, '08 04:07:33PM

I have seen the same complaint on different forums. The developers really need to look into this.

I have installed the latest (alpha or beta or whatever) expert release for over a year. Never had this problem with previous versions. However, the latest privoxy is definitely not starting up.

If you install the tor/privoxy bundle you will have 3.06.

I installed 3.08 on top of that.

As a workaround, I have set iKeys to run StopPrivoxy at shutdown and StartPrivoxy at startup. You can do the same with cronniX or other launcher.



[ Reply to This | # ]
10.4: Launch Privoxy on start-up via launchd
Authored by: DrLeonP on Mar 04, '08 12:32:09AM

Even that did not quite work out. So, I set iKey to first run StopPrivoxy, wait 2 secs, run StartPrivoxy.

You can also do this with AppleScript:

do shell script "/Library/Privoxy/StopPrivoxy.command" password "insertyourpasswordhere" with administrator privileges

do shell script "/Library/Privoxy/StartPrivoxy.command"




[ Reply to This | # ]