Barre / privaxy

Privaxy is the next generation tracker and advertisement blocker. It blocks ads and trackers by MITMing HTTP(s) traffic.
GNU Affero General Public License v3.0
2.29k stars 97 forks source link

Enhancement: Auto start when login and background process #35

Closed lackofcodingskillz closed 1 year ago

lackofcodingskillz commented 1 year ago

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

lackofcodingskillz commented 1 year ago
<!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>