Skip to content

Instantly share code, notes, and snippets.

@iOS0x00
Created March 29, 2014 04:48
Show Gist options
  • Save iOS0x00/9848650 to your computer and use it in GitHub Desktop.
Save iOS0x00/9848650 to your computer and use it in GitHub Desktop.
goagent mac launchctl plist
<?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">
<plist version="1.0">
<dict>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>com.googlecode.goagent</string>
<key>NetworkState</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/python</string>
<!--以下改为你GoAgent的proxy.py的路径,建议放到自己用户的路径下,这样不会有需要sudo的问题 -->
<string>goagent path</string>
</array>
<key>ServiceDescription</key>
<string>GoAgent Local Service</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment