adding mac support mainly
This commit is contained in:
38
launchd/com.woodarddigital.streamdeck-go-helper.plist
Normal file
38
launchd/com.woodarddigital.streamdeck-go-helper.plist
Normal file
@@ -0,0 +1,38 @@
|
||||
<?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">
|
||||
<!--
|
||||
LaunchDaemon for streamdeck-go-helper (privileged root daemon).
|
||||
Installed to: /Library/LaunchDaemons/com.woodarddigital.streamdeck-go-helper.plist
|
||||
Requires: sudo
|
||||
|
||||
Manage with:
|
||||
sudo launchctl load /Library/LaunchDaemons/com.woodarddigital.streamdeck-go-helper.plist
|
||||
sudo launchctl unload /Library/LaunchDaemons/com.woodarddigital.streamdeck-go-helper.plist
|
||||
tail -f /var/log/streamdeck-go-helper.log
|
||||
|
||||
The binary path below is set by install.sh at install time.
|
||||
-->
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Label</key>
|
||||
<string>com.woodarddigital.streamdeck-go-helper</string>
|
||||
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>STREAMDECK_HELPER_BINARY_PATH</string>
|
||||
</array>
|
||||
|
||||
<!-- Start automatically at boot (runs as root via LaunchDaemons). -->
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
|
||||
<!-- Restart automatically if the process exits. -->
|
||||
<key>KeepAlive</key>
|
||||
<true/>
|
||||
|
||||
<key>StandardOutPath</key>
|
||||
<string>/var/log/streamdeck-go-helper.log</string>
|
||||
<key>StandardErrorPath</key>
|
||||
<string>/var/log/streamdeck-go-helper.log</string>
|
||||
</dict>
|
||||
</plist>
|
||||
37
launchd/com.woodarddigital.streamdeck-go.plist
Normal file
37
launchd/com.woodarddigital.streamdeck-go.plist
Normal file
@@ -0,0 +1,37 @@
|
||||
<?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 (user daemon).
|
||||
Installed to: ~/Library/LaunchAgents/com.woodarddigital.streamdeck-go.plist
|
||||
|
||||
Manage with:
|
||||
launchctl load ~/Library/LaunchAgents/com.woodarddigital.streamdeck-go.plist
|
||||
launchctl unload ~/Library/LaunchAgents/com.woodarddigital.streamdeck-go.plist
|
||||
tail -f /tmp/streamdeck-go.log
|
||||
|
||||
The binary path below is set by install.sh at install time.
|
||||
-->
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Label</key>
|
||||
<string>com.woodarddigital.streamdeck-go</string>
|
||||
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>STREAMDECK_BINARY_PATH</string>
|
||||
</array>
|
||||
|
||||
<!-- Start automatically when the user logs in. -->
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
|
||||
<!-- Restart automatically if the process exits. -->
|
||||
<key>KeepAlive</key>
|
||||
<true/>
|
||||
|
||||
<key>StandardOutPath</key>
|
||||
<string>STREAMDECK_LOG_PATH</string>
|
||||
<key>StandardErrorPath</key>
|
||||
<string>STREAMDECK_LOG_PATH</string>
|
||||
</dict>
|
||||
</plist>
|
||||
Reference in New Issue
Block a user