qmemmand: fix systemd notification
This commit is contained in:
parent
865dac5d0b
commit
6383d87be9
@ -291,7 +291,7 @@ def main():
|
|||||||
if nofity_socket.startswith('@'):
|
if nofity_socket.startswith('@'):
|
||||||
nofity_socket = '\0%s' % nofity_socket[1:]
|
nofity_socket = '\0%s' % nofity_socket[1:]
|
||||||
s.connect(nofity_socket)
|
s.connect(nofity_socket)
|
||||||
s.sendall("READY=1")
|
s.sendall(b"READY=1")
|
||||||
s.close()
|
s.close()
|
||||||
|
|
||||||
threading.Thread(target=server.serve_forever).start()
|
threading.Thread(target=server.serve_forever).start()
|
||||||
|
Loading…
Reference in New Issue
Block a user