powerdns-admin/run.py
2016-04-13 11:13:59 +07:00

12 lines
223 B
Python
Executable File

#!flask/bin/python
from app import app
from config import PORT
try:
from config import BIND_ADDRESS
except:
BIND_ADDRESS = '127.0.0.1'
if __name__ == '__main__':
app.run(debug = True, host=BIND_ADDRESS, port=PORT)