summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2017-10-03 20:11:47 +0200
committerSebastian Reichel <sre@ring0.de>2017-10-03 20:11:47 +0200
commit0c9494d2c6e3e6099178d76100bcaada63ad74d1 (patch)
tree34a6a5f93e17e778427624274a631154d2935ad0
parentf5d2cfa2dc015dfdd84cca82077c03997e65fb77 (diff)
downloadserial-barcode-scanner-0c9494d2c6e3e6099178d76100bcaada63ad74d1.tar.bz2
add example configuration file
-rw-r--r--example.cfg20
1 files changed, 20 insertions, 0 deletions
diff --git a/example.cfg b/example.cfg
new file mode 100644
index 0000000..1d52d06
--- /dev/null
+++ b/example.cfg
@@ -0,0 +1,20 @@
+[DATABASE]
+file = /path/to/shop.db
+[INPUT]
+device = /dev/input/by-id/path-to-barcode-scanner
+[MAIL]
+server = mail.server.example.com
+port = 587
+username = shop-system@server.example.com
+password = my_top_secret_password
+starttls = true
+[AUDIO]
+path = /path/to/sounds/
+[PGP]
+keyring = /path/to/keyring/
+keyid = 0x12345678
+[WEB]
+filepath = /path/to/web/templates/
+port = 8080
+[INVOICE]
+datadir = /path/to/invoice/