powerdns-admin/run.py

7 lines
222 B
Python
Raw Normal View History

2018-04-02 06:38:53 +00:00
#!/usr/bin/env python3
from powerdnsadmin import create_app
2016-04-13 04:13:59 +00:00
2015-12-13 09:34:12 +00:00
if __name__ == '__main__':
app = create_app()
app.run(debug=True, host=app.config.get('BIND_ADDRESS', '127.0.0.1'), port=app.config.get('PORT', '9191'))