about summary refs log tree commit homepage
path: root/GIT-VERSION-GEN
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-06-07 20:45:56 +0000
committerEric Wong <e@80x24.org>2016-06-07 21:03:11 +0000
commit6a65054ce2763d51aca5da525656bcb1f08d61a5 (patch)
tree64ca3ee9d31d513de7fb953297600373db4a2d7b /GIT-VERSION-GEN
parent33c2f7794dc72b59390e6199fa0a6f41fb36eeb3 (diff)
downloadunicorn-jr/init.tar.gz
Rework the "upgrade" target to only read the PID files once to
avoid misreading the wrong PID files in the middle of the
upgrade.

Additionally, introduce the UPGRADE_DELAY environment parameter
so users can increase/decrease according to their application
startup time.

PID files are inherently racy and people should be using a
process manager (systemd or similar) instead, but this should
mitigate most of the problems with the old target.

While we're at it, add LSB tags for systems which complain
about the lack of them and modernize things a bit using
$(command) construct instead of the more fragile `command`.

Thanks-to: Jesper Rønn-Jensen <jesperrr@gmail.com>
Diffstat (limited to 'GIT-VERSION-GEN')
0 files changed, 0 insertions, 0 deletions