prusa-connect-exporter/etc/service.plist

21 lines
734 B
Plaintext
Raw Normal View History

2022-02-08 00:25:37 +00:00
<?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>