From cce1953eb1f8fe8c927a1720c95caed45b71ef1d Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Fri, 29 Jun 2018 21:05:46 +0200 Subject: 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. --- example.cfg | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'example.cfg') 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 = Kreativität trifft Technik e.V.\nAmtsgericht Oldenburg VR 201044\n\nHackspace „Mainframe“\nFabLab „Fab-O-Lab“\nSchnittstelle „Schnittstelle“\n\nBahnhofsplatz 10 • 26122 Oldenburg -- cgit v1.2.3