def init_server(path=None): if path: global conf_path conf_path = path from pritunl import app from pritunl import setup setup.setup_all() app.run_server()
def init_server(): from pritunl import app from pritunl import setup setup.setup_all() app.run_server()