diff --git a/etc/service.plist b/etc/service.plist new file mode 100644 index 0000000..f9ff876 --- /dev/null +++ b/etc/service.plist @@ -0,0 +1,20 @@ + + + + + Label + com.yetagain.prusaexporter + ProgramArguments + + /path/to/bin/prusa-connect-exporter + -hostname + 192.168.0.1 + + RunAtLoad + + StandardErrorPath + /usr/local/var/log/prusa_exporter.err.log + StandardOutPath + /usr/local/var/log/prusa_exporter.log + +