From 70ae7f7b7fcb3d68606b4fca3e2b79e9dbf9481d Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 26 Sep 2020 11:56:02 +0200 Subject: [PATCH] add launch plist and instructions --- README.md | 10 ++++++++++ launchd/net.zekjur.qrbill.plist | 13 +++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 launchd/net.zekjur.qrbill.plist diff --git a/README.md b/README.md index 352921d..9b4f3e8 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,16 @@ Once you are happy with the code parameters, change the `format` parameter from http://localhost:9933/qr?format=png&udname=Mary+Jane&udaddr1=Artikel+19b +## Auto-starting qrbill on macOS + +See also [Script management with launchd in Terminal on +Mac](https://support.apple.com/guide/terminal/script-management-with-launchd-apdc6c1077b-5d5d-4d35-9c19-60f2397b2369/mac) +for more details from Apple. + +1. Copy `qrbill-api` to `/Applications` +1. Copy `launchd/net.zekjur.qrbill.plist` to `–/Library/LaunchAgents` +1. Restart your computer, or run `launchctl load –/Library/LaunchAgents/net.zekjur.qrbill.plist` + ## Crowd-sourced compatibility testing To build confidence in our implementation, please help us verify that the codes diff --git a/launchd/net.zekjur.qrbill.plist b/launchd/net.zekjur.qrbill.plist new file mode 100644 index 0000000..2e9700d --- /dev/null +++ b/launchd/net.zekjur.qrbill.plist @@ -0,0 +1,13 @@ + + + + + KeepAlive + + Label + net.zekjur.qrbill + Program + /Applications/qrbill-api + +