summaryrefslogtreecommitdiff
path: root/src/services/vyos-hostsd
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-07-25 17:50:06 +0200
committerGitHub <noreply@github.com>2020-07-25 17:50:06 +0200
commitbfbf51acb2d4b6b5fe2d22d39f7259686f98d2a0 (patch)
tree979a245e4b538daf0a7752a1e4f1a62fa6a4c521 /src/services/vyos-hostsd
parent1a85e758b105d493bb9d95916816bd206345bc5d (diff)
parentbe8cda7f711a7a26c85b51976c299a6837750a63 (diff)
downloadvyos-1x-bfbf51acb2d4b6b5fe2d22d39f7259686f98d2a0.tar.gz
vyos-1x-bfbf51acb2d4b6b5fe2d22d39f7259686f98d2a0.zip
Merge pull request #423 from thomas-mangin/T2494
systemd: T2494: allow to restart vyos-hostsd without consequence
Diffstat (limited to 'src/services/vyos-hostsd')
-rwxr-xr-xsrc/services/vyos-hostsd1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/services/vyos-hostsd b/src/services/vyos-hostsd
index 0079f7e5c..53ac5a770 100755
--- a/src/services/vyos-hostsd
+++ b/src/services/vyos-hostsd
@@ -592,6 +592,7 @@ if __name__ == '__main__':
socket.bind(SOCKET_PATH)
os.umask(o_mask)
+ systemd.daemon.notify('READY=1')
while True:
# Wait for next request from client
msg_json = socket.recv().decode()