Files
streamdeck-go/launchd/com.woodarddigital.streamdeck-go-watchdog.plist

36 lines
1.2 KiB
Plaintext

<?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">
<!--
LaunchAgent for streamdeck-go-watchdog.
Installed to: ~/Library/LaunchAgents/com.woodarddigital.streamdeck-go-watchdog.plist
Fires every 30 seconds. Detects USB unplug/replug events that the daemon's
in-process reconnect missed and restarts the streamdeck-go agent.
The watchdog binary path below is set by the install target at install time.
-->
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.woodarddigital.streamdeck-go-watchdog</string>
<key>ProgramArguments</key>
<array>
<string>STREAMDECK_WATCHDOG_PATH</string>
</array>
<!-- Fire every 30 seconds. -->
<key>StartInterval</key>
<integer>30</integer>
<!-- Don't run at load — let the first interval fire naturally so the
device address has a chance to settle after login. -->
<key>RunAtLoad</key>
<false/>
<key>StandardOutPath</key>
<string>STREAMDECK_WATCHDOG_LOG_PATH</string>
<key>StandardErrorPath</key>
<string>STREAMDECK_WATCHDOG_LOG_PATH</string>
</dict>
</plist>