better config handling

ldap
Tomek Dubrownik 2012-09-15 02:55:47 +02:00
parent 6e74a6bda9
commit 796083b600
2 changed files with 14 additions and 18 deletions

14
at.cfg.dist Normal file
View File

@ -0,0 +1,14 @@
DB = './at.db'
CAP_FILE = './dhcp-cap'
LEASE_FILE = './dhcpd.leases'
LEASE_OFFSET = -60 * 60
TIMEOUT = 1500
WIKI_URL = 'http://hackerspace.pl/wiki/doku.php?id=people:%(login)s:start'
CLAIMABLE_PREFIX = '10.8.0.' #'192.168.1.'
CLAIMABLE_EXCLUDE = [
# '127.0.0.1',
]
SECRET_KEY = 'adaba'

View File

@ -1,18 +0,0 @@
debug = True
port = 8080
db = './at.db'
cap_file = './dhcp-cap'
lease_file = './leases'
lease_offset = 60 * 20
timeout = 3000
wiki_url = 'http://hackerspace.pl/wiki/doku.php?id=people:%(login)s:start'
claimable_prefix = '' #'192.168.1.'
claimable_exclude = [
# '127.0.0.1',
]
secret_key = 'adaba'