节点在线、应用在线、配置在线使用令牌查询
大石头 authored at 2021-12-16 19:49:30
887.00 B
Stardust
<?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">
<!--
  macOS launchd 模板:写入 /Library/LaunchDaemons/com.newlifex.staragent.plist(root)
  或 ~/Library/LaunchAgents/com.newlifex.staragent.plist(普通用户),随后 launchctl load -w <plist>。
-->
<plist version="1.0">
<dict>
  <key>Label</key>
  <string>com.newlifex.staragent</string>
  <key>ProgramArguments</key>
  <array>
    <string>/opt/staragent/staragent</string>
    <string>run</string>
    <string>--config</string>
    <string>/etc/staragent/staragent.json</string>
  </array>
  <key>RunAtLoad</key>
  <true/>
  <key>KeepAlive</key>
  <true/>
  <key>StandardOutPath</key>
  <string>/var/log/staragent.out.log</string>
  <key>StandardErrorPath</key>
  <string>/var/log/staragent.err.log</string>
</dict>
</plist>