读书人

mac下设立goagent自动启动

发布时间: 2013-11-08 17:52:32 作者: rapoo

mac下设置goagent自动启动

<!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>com.go.agent</string>

<key>ProgramArguments</key>

<array>

<string>python</string>?

<string>/Applications/Utilities/goagent/local/proxy.py</string>

</array>

<key>RunAtLoad</key>

<true/>

</dict>

</plist>

?

2.然后在执行如下代码,重启,开始用吧。
sudo chown root:wheel /Library/LaunchDaemons/com.go.agent.plist

读书人网 >其他相关

热点推荐