aboutsummaryrefslogtreecommitdiffstats
path: root/python/master.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/master.py')
-rw-r--r--python/master.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/python/master.py b/python/master.py
index c45c1cf2..42092da7 100644
--- a/python/master.py
+++ b/python/master.py
@@ -4,8 +4,6 @@ import datetime
import os
import time
from common import root
-import daemon
-from daemon.pidlockfile import TimeoutPIDLockFile
def run():
dealsfile = os.path.join(root, "scripts", "deals_to_price.txt")
@@ -22,5 +20,4 @@ def run():
time.sleep(3)
if __name__=="__main__":
- with daemon.DaemonContext(pidfile = TimeoutPIDLockFile('/var/run/master.pid',10)):
- run()
+ run()