Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fix problem with gunicorn_running checking locally for the pid file

The current implementation checks the local machine for the pid file,
so I implemented a check by calling run('ls file') to make sure
it checks on the target machine.
  • Loading branch information...
commit 364f1a5153efd9ceec942c88d33f8ac616a0adbf 1 parent 2fd43a2
@rpicard rpicard authored
Showing with 1 addition and 1 deletion.
  1. +1 −1 
2 
@@ -21,7 +21,7 @@ def set_env_defaults():
def gunicorn_running():
- return files.exists(env.gunicorn_pidpath)
+ return run('ls ' + env.gunicorn_pidpath, quiet=True).succeeded
def gunicorn_running_workers():

0 comments on commit 364f1a5

Please sign in to comment.
Something went wrong with that request. Please try again.