From 8bb3ed253f2358c66dd65c987c3791b992b75c59 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Tue, 25 Jul 2017 16:13:25 +0200 Subject: [PATCH] Update fenrir-daemon --- src/fenrir/fenrir-daemon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrir/fenrir-daemon b/src/fenrir/fenrir-daemon index a8dd678d..eefc5054 100755 --- a/src/fenrir/fenrir-daemon +++ b/src/fenrir/fenrir-daemon @@ -23,6 +23,6 @@ def main(): if __name__ == "__main__": # for debug in foreground #daemon = Daemonize(app="fenrir-daemon", pid=pidFile, action=main, foreground=True,chdir=os.path.dirname(os.path.realpath(fenrirVersion.__file__))) - daemon = Daemonize(app="fenrir-daemon", pid=pidFile, action=main, chdir=os.path.dirname(os.path.realpath(fenrirVersion.__file__))) + daemon = Daemonize(app="fenrir-daemon", pid=pidFile, action=main, chdir=fenrirPath) daemon.start()