Barre / privaxy

Privaxy is the next generation tracker and advertisement blocker. It blocks ads and trackers by MITMing HTTP(s) traffic.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enhancement: Auto start when login and background process

lackofcodingskillz opened this issue · comments

commented

After doing some research I've come up with the ultimate solution
Adding login plist
Note that this is for Mac only. You'll have to edit a little bit in the plist and it'll be more clear when you open the file
You'll have to put into the LaunchAgent folder and run
sudo launchctl load "path to plist"
Thank you I just wasted 3 hours

commented
<!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>privaxy</string> <!-- idk launch? -->

    <key>OnDemand</key>
    <false/>

    <key>UserName</key>
    <string>username_here</string>

    <key>GroupName</key>
    <string>anAppropriateGroup</string>

    <key>ProgramArguments</key>
    <array>
            <string>nohup</string>
            <string>path_to_privaxy</string>
            <string>&</string>
    </array>
</dict>
</plist>