summaryrefslogtreecommitdiff
path: root/src/services/vyos-http-api-server
diff options
context:
space:
mode:
Diffstat (limited to 'src/services/vyos-http-api-server')
-rwxr-xr-xsrc/services/vyos-http-api-server4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/services/vyos-http-api-server b/src/services/vyos-http-api-server
index 3eecaba5a..d5730d86c 100755
--- a/src/services/vyos-http-api-server
+++ b/src/services/vyos-http-api-server
@@ -28,7 +28,6 @@ import vyos.config
from flask import Flask, request
from waitress import serve
-import systemd.daemon
from functools import wraps
@@ -394,9 +393,8 @@ if __name__ == '__main__':
signal.signal(signal.SIGTERM, sig_handler)
- systemd.daemon.notify('READY=1')
try:
serve(app, host=server_config["listen_address"],
port=server_config["port"])
except OSError as e:
- sys.exit(f"OSError {e}")
+ print(f"OSError {e}")