Skip to content

Instantly share code, notes, and snippets.

@tristanmorgan
Last active June 20, 2016 13:23
Show Gist options
  • Save tristanmorgan/bc8d4fb4006658e25d87 to your computer and use it in GitHub Desktop.
Save tristanmorgan/bc8d4fb4006658e25d87 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!-- Thanks to OHO's Blog -->
<!-- /Library/LaunchDaemons/com.oho.cntlm.daemon.plist -->
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<true/>
</dict>
<key>Label</key>
<string>com.oho.cntlm.daemon</string>
<key>Program</key>
<string>/usr/local/bin/cntlm</string>
<key>RunAtLoad</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/cntlm</string>
<string>-f</string>
<string>-P</string>
<string>/var/run/com.oho.cntlm.daemon.pid</string>
</array>
<key>StandardErrorPath</key>
<string>/private/var/log/com.oho.cntlm.daemon.err</string>
<key>StandardOutPath</key>
<string>/private/var/log/com.oho.cntlm.daemon.out</string>
<key>ThrottleInterval</key>
<integer>30</integer>
<!-- key>Sockets</key>
<dict>
<key>Listeners</key>
<dict>
<key>SockServiceName</key>
<string>3128</string>
<key>SockType</key>
<string>stream</string>
<key>SockFamily</key>
<string>IPv4</string>
</dict>
</dict -->
<!-- key>GroupName</key>
<string>_wwwproxy</string>
<key>UserName</key>
<string>_wwwproxy</string -->
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment