Browse Source

[launchd] Add snapclient plist

Colin Powell 4 days ago
parent
commit
ebe255c75f
1 changed files with 28 additions and 0 deletions
  1. 28 0
      launchd/Library/LaunchAgents/com.snapcast.snapclient.plist

+ 28 - 0
launchd/Library/LaunchAgents/com.snapcast.snapclient.plist

@@ -0,0 +1,28 @@
+<?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>com.snapcast.snapclient</string>
+
+    <key>ProgramArguments</key>
+    <array>
+        <string>/opt/homebrew/bin/snapclient</string>
+        <string>-h</string>
+        <string>snapcast.service</string>
+    </array>
+
+    <key>RunAtLoad</key>
+    <true/>
+
+    <key>KeepAlive</key>
+    <true/>
+
+    <key>StandardOutPath</key>
+    <string>/tmp/snapclient.out</string>
+
+    <key>StandardErrorPath</key>
+    <string>/tmp/snapclient.err</string>
+</dict>
+</plist>