Files
netdesk/scripts/deploy/com.netdesk.host.plist

28 lines
760 B
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">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.netdesk.host</string>
<key>ProgramArguments</key>
<array>
<!-- EDIT: full path to your NetDeskHost binary -->
<string>/Applications/NetDesk/NetDeskHost</string>
<!-- EDIT: your server URL -->
<string>--server</string>
<string>wss://your-vps.example:8443/ws</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>StandardOutPath</key>
<string>/tmp/netdesk-host.log</string>
<key>StandardErrorPath</key>
<string>/tmp/netdesk-host.log</string>
</dict>
</plist>