Skip to content

Commit

Permalink
Fix relative pidfile path
Browse files Browse the repository at this point in the history
Closes #47
  • Loading branch information
thesharp committed Mar 18, 2016
1 parent 11a2be2 commit da54a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemonize.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(self, app, pid, action,
user=None, group=None, verbose=False, logger=None,
foreground=False, chdir="/"):
self.app = app
self.pid = pid
self.pid = os.path.abspath(pid)
self.action = action
self.keep_fds = keep_fds or []
self.privileged_action = privileged_action or (lambda: ())
Expand Down

0 comments on commit da54a00

Please sign in to comment.