Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix luigid when called with --background and without --logdir #280

Merged
merged 1 commit into from

2 participants

@onlynone

No description provided.

@erikbern erikbern merged commit 9d5a91f into spotify:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 19, 2014
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 1 deletion.
  1. +3 −1 luigi/process.py
View
4 luigi/process.py
@@ -66,8 +66,10 @@ def _server_already_running(pidfile):
return False
-def daemonize(cmd, pidfile=None, logdir="/var/log/luigi"):
+def daemonize(cmd, pidfile=None, logdir=None):
import daemon
+
+ logdir = logdir or "/var/log/luigi"
if not os.path.exists(logdir):
os.makedirs(logdir)
Something went wrong with that request. Please try again.