port now configurable
parent
29fb2bfa4b
commit
f9696225a2
2
at.py
2
at.py
|
@ -264,4 +264,4 @@ if __name__ == '__main__':
|
|||
conn = setup_db()
|
||||
updater = DnsmasqUpdater(config.lease_file, config.lease_offset, config.timeout)
|
||||
updater.start()
|
||||
app.run('0.0.0.0')
|
||||
app.run('0.0.0.0', config.port)
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
port = 8080
|
||||
|
||||
db = './at.db'
|
||||
cap_file = './dhcp-cap'
|
||||
lease_file = './leases'
|
||||
lease_offset = 60 * 20
|
||||
timeout = 300
|
||||
timeout = 3000
|
||||
|
||||
wiki_url = 'http://hackerspace.pl/wiki/doku.php?id=people:%(login)s:start'
|
||||
|
||||
claimable_prefix = '10.8.0.'
|
||||
claimable_prefix = '192.168.1.'
|
||||
claimable_exclude = [
|
||||
# '127.0.0.1',
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue