mac自动启动服务

homebrew.mxcl.authenmng.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>Label</key>
    <string>homebrew.mxcl.authenmng</string>
	<key>ProgramArguments</key>
    <array>
      <string>/Library/StartupItems/iNodeAuthService/iNodeAuthService</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
  </dict>
</plist>
sudo chown root:wheel /Library/LaunchDaemons/homebrew.mxcl.authenmng.plist

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注