add basic plist for mac usage

master
David Ashby 10 months ago
parent 42b290c3bb
commit 6f4dda4165
  1. 20
      etc/service.plist

@ -0,0 +1,20 @@
<?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.yetagain.prusaexporter</string>
<key>ProgramArguments</key>
<array>
<string>/path/to/bin/prusa-connect-exporter</string>
<string>-hostname</string>
<string>192.168.0.1</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StandardErrorPath</key>
<string>/usr/local/var/log/prusa_exporter.err.log</string>
<key>StandardOutPath</key>
<string>/usr/local/var/log/prusa_exporter.log</string>
</dict>
</plist>
Loading…
Cancel
Save