aboutsummaryrefslogtreecommitdiffstats
path: root/python/client_daemon.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/client_daemon.py')
-rw-r--r--python/client_daemon.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/python/client_daemon.py b/python/client_daemon.py
deleted file mode 100644
index 4384aa35..00000000
--- a/python/client_daemon.py
+++ /dev/null
@@ -1,9 +0,0 @@
-import sys
-import daemon
-import importlib
-from daemon.pidlockfile import TimeoutPIDLockFile
-pgr_name = sys.argv[0].split("_")[0]
-m = importlib.import_module(pgr_name)
-
-with daemon.DaemonContext(pidfile = TimeoutPIDLockFile('/var/run/{0}.pid'.format(pgr_name),10)):
- m.run()