diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-07-25 21:32:48 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-07-25 21:32:48 +0200 |
commit | 56255d62fe1afe9da83e50478a89a720a7dd08ab (patch) | |
tree | a19acc0f40860c74c41cdc1b3a6c6269da08b9ee /src/services/vyos-http-api-server | |
parent | b7dfe4e1484df5c711ea81d360643f0331c518c8 (diff) | |
download | vyos-1x-56255d62fe1afe9da83e50478a89a720a7dd08ab.tar.gz vyos-1x-56255d62fe1afe9da83e50478a89a720a7dd08ab.zip |
Revert "Merge pull request #423 from thomas-mangin/T2494"
This reverts commit bfbf51acb2d4b6b5fe2d22d39f7259686f98d2a0, reversing
changes made to 1a85e758b105d493bb9d95916816bd206345bc5d.
Diffstat (limited to 'src/services/vyos-http-api-server')
-rwxr-xr-x | src/services/vyos-http-api-server | 4 |
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}") |