Skip to content

Commit

Permalink
darwin: static link GLib, add LaunchDaemon
Browse files Browse the repository at this point in the history
  • Loading branch information
osy committed Nov 17, 2024
1 parent ee9ac60 commit b788a24
Show file tree
Hide file tree
Showing 3 changed files with 275 additions and 16 deletions.
26 changes: 26 additions & 0 deletions data/com.redhat.spice.vdagent.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?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>KeepAlive</key>
<dict>
<key>Crashed</key>
<true/>
</dict>
<key>Label</key>
<string>com.redhat.spice.vdagent</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/spice-vdagent</string>
<string>-x</string>
<string>-S</string>
<string>/var/run/spice-vdagent-sock</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StandardErrorPath</key>
<string>/var/log/spice-vdagent.stderr.log</string>
<key>StandardOutPath</key>
<string>/var/log/spice-vdagent.stdout.log</string>
</dict>
</plist>
28 changes: 28 additions & 0 deletions data/com.redhat.spice.vdagentd.plist
Original file line number Diff line number Diff line change
@@ -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>KeepAlive</key>
<dict>
<key>Crashed</key>
<true/>
</dict>
<key>Label</key>
<string>com.redhat.spice.vdagentd</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/spice-vdagentd</string>
<string>-x</string>
<string>-s</string>
<string>/dev/tty.com.redhat.spice.0</string>
<string>-S</string>
<string>/var/run/spice-vdagent-sock</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StandardErrorPath</key>
<string>/var/log/spice-vdagentd.stderr.log</string>
<key>StandardOutPath</key>
<string>/var/log/spice-vdagentd.stdout.log</string>
</dict>
</plist>
Loading

0 comments on commit b788a24

Please sign in to comment.