summaryrefslogtreecommitdiffstats
path: root/example.cfg
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2018-06-29 21:05:46 +0200
committerSebastian Reichel <sre@ring0.de>2018-07-15 22:59:57 +0200
commitcce1953eb1f8fe8c927a1720c95caed45b71ef1d (patch)
tree4ce0e1a234360ebb99f8bf6b6f2fa5d8ab842c55 /example.cfg
parent2d532b4a537327d66a15d20dc2e8aaad9b5f1dfc (diff)
downloadserial-barcode-scanner-cce1953eb1f8fe8c927a1720c95caed45b71ef1d.tar.bz2
all: simplify datadir configuration
This simplifies the datadir configuration and removes the expectation, that the code is executed from the repository. It should now be possible to install this into the system like any other common Linux application.
Diffstat (limited to 'example.cfg')
-rw-r--r--example.cfg5
1 files changed, 1 insertions, 4 deletions
diff --git a/example.cfg b/example.cfg
index a56e074..bfae3ea 100644
--- a/example.cfg
+++ b/example.cfg
@@ -2,6 +2,7 @@
longname = Kreativität trifft Technik e.V.
shortname = KTT
spacename = Mainframe
+datapath = /usr/share/shopsystem/
[DATABASE]
file = /path/to/shop.db
[INPUT]
@@ -16,16 +17,12 @@ password = my_top_secret_password
starttls = true
mailfromaddress = shop@kreativitaet-trifft-technik.de
treasurermailaddress = shop-einzug@kreativitaet-trifft-technik.de
-[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/
vat = no
addressrow = Kreativität trifft Technik e.V., Bahnhofsplatz 10, 26122 Oldenburg
footer1 = <b>Kreativität trifft Technik e.V.</b>\nAmtsgericht Oldenburg VR 201044\n\nHackspace „Mainframe“\nFabLab „Fab-O-Lab“\nSchnittstelle „Schnittstelle“\n\nBahnhofsplatz 10 • 26122 Oldenburg