add launch plist and instructions

This commit is contained in:
Michael Stapelberg
2020-09-26 11:56:02 +02:00
parent fec5c6e215
commit 70ae7f7b7f
2 changed files with 23 additions and 0 deletions

View File

@@ -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 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 ## Crowd-sourced compatibility testing
To build confidence in our implementation, please help us verify that the codes To build confidence in our implementation, please help us verify that the codes

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>net.zekjur.qrbill</string>
<key>Program</key>
<string>/Applications/qrbill-api</string>
</dict>
</plist>