parent
3532dcc11f
commit
4f25c55efc
|
@ -20,4 +20,4 @@
|
|||
#
|
||||
###############################################################################
|
||||
|
||||
import pvcapid.api
|
||||
import pvcapid.Daemon
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
# api.py - PVC HTTP API interface
|
||||
# Daemon.py - PVC HTTP API daemon
|
||||
# Part of the Parallel Virtual Cluster (PVC) system
|
||||
#
|
||||
# Copyright (C) 2018-2020 Joshua M. Boniface <joshua@boniface.me>
|
||||
|
@ -5612,7 +5612,6 @@ api.add_resource(API_Provisioner_Status_Element, '/provisioner/status/<task_id>'
|
|||
##########################################################
|
||||
# Entrypoint
|
||||
##########################################################
|
||||
if __name__ == '__main__':
|
||||
if config['debug']:
|
||||
# Run in Flask standard mode
|
||||
app.run(config['listen_address'], config['listen_port'])
|
Loading…
Reference in New Issue