Commit 5b1a9eb5 authored by Marco Buttu's avatar Marco Buttu
Browse files

Check if the process is already running

parent d07a2a52
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -18,7 +18,6 @@ for line in running_processes.split('\n'):
    if counter > 1:
        print '%s already running, everything is OK' % process
        sys.exit(0)
time.sleep(180)

logging.basicConfig(
    filename='/home/gavino/logs/receivers.log',