add basic plist for mac usage
This commit is contained in:
parent
42b290c3bb
commit
6f4dda4165
20
etc/service.plist
Normal file
20
etc/service.plist
Normal file
@ -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…
Reference in New Issue
Block a user