From 12765c40395c2354147ecabaff7f0b41528f4622 Mon Sep 17 00:00:00 2001 From: chrys Date: Wed, 19 Oct 2016 23:31:25 +0200 Subject: [PATCH] rename pid to pidfile --- src/fenrir/fenrir-daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fenrir/fenrir-daemon.py b/src/fenrir/fenrir-daemon.py index 8652f576..de7072f5 100755 --- a/src/fenrir/fenrir-daemon.py +++ b/src/fenrir/fenrir-daemon.py @@ -13,7 +13,7 @@ if not os.path.dirname(os.path.realpath(__main__.__file__)) in sys.path: import fenrir from daemonize import Daemonize -pid = "/tmp/fenrir.pid" +pidFile = "/tmp/fenrir.pid" def main(): app = fenrir.fenrir() @@ -21,6 +21,6 @@ def main(): del app if __name__ == "__main__": - daemon = Daemonize(app="fenrir-daemon", pid=pid, action=main) + daemon = Daemonize(app="fenrir-daemon", pid=pidFile, action=main) daemon.start()