]> WPIA git - motion.git/blobdiff - config.py.example
Merge branch 'readme' into 'master'
[motion.git] / config.py.example
index f15a40014012550e9469d18c685e83d26c3b1ca1..22ee94e57f0b5aee682e29903bd2c8e0e44d9f1e 100644 (file)
@@ -1,8 +1,11 @@
-DATABASE="..."
+DATABASE="pg://dbserver/db"
 USER="..."
 PASSWORD="..."
 
 DEFAULT_HOST="hostname for migration from db version < 2"
 
-groups=["group1", "group1"] # kinds of motion
-group_prefix={"group1": "g1", "group2": "g2"} # prefixes for motion identifiers
+GROUP_PREFIX={'hostname': {'group1': 'g1', 'group2': 'g2'}} # motion types and their id-prefixes
+
+DURATION={'hostname':[3, 7, 14]} # duration period for motions
+
+#DEBUGUSER={'hostname':'username/create:* vote:*'} # remove # at beginning of line to use local debuguser