mirror of
https://github.com/runcitadel/core.git
synced 2024-12-28 23:52:17 +00:00
Fix karen
This commit is contained in:
parent
b990d5a9ea
commit
42d763a5bc
6
karen
6
karen
|
@ -10,11 +10,11 @@ import os
|
|||
rootDir = os.path.dirname(os.path.abspath(__file__))
|
||||
os.chdir(rootDir)
|
||||
|
||||
if os.path.exists("events/karen"):
|
||||
os.remove("events/karen")
|
||||
if os.path.exists("karen.socket"):
|
||||
os.remove("karen.socket")
|
||||
|
||||
server = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
||||
server.bind("events/karen")
|
||||
server.bind("karen.socket")
|
||||
|
||||
while True:
|
||||
server.listen(1)
|
||||
|
|
Loading…
Reference in New Issue
Block a user