aboutsummaryrefslogtreecommitdiffstats
path: root/python/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/client.py')
-rw-r--r--python/client.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/python/client.py b/python/client.py
index cb111dd9..63255412 100644
--- a/python/client.py
+++ b/python/client.py
@@ -2,8 +2,6 @@ import redis
import tasks
from pickle import loads, dumps
import socket
-import daemon
-from daemon.pidlockfile import TimeoutPIDLockFile
def run():
hostname = socket.gethostname()
@@ -21,5 +19,4 @@ def run():
q.rpush("tasks", dumps(("generate_scenarios", args[:-1]), protocol=2))
if __name__=="__main__":
- with daemon.DaemonContext(pidfile = TimeoutPIDLockFile('/var/run/client.pid',10)):
- run()
+ run()