diff options
author | Kelley Spoon <kelley.spoon@linaro.org> | 2018-03-19 22:31:14 -0500 |
---|---|---|
committer | Kelley Spoon <kelley.spoon@linaro.org> | 2018-05-02 14:45:48 +0000 |
commit | 57157303a3d79c615bd7c5c4939562525a7ac29c (patch) | |
tree | 53139e482e852ea847910cf4b30c95af7e597612 | |
parent | 16b108d161c7168868dfd676320820d397ea90be (diff) |
Docker: add a script to reload gunicorn from outside the container
Change-Id: I020bc19a4c2e2cc80035feaa56f3350063f394ca
Reviewed-on: https://review.linaro.org/24392
Reviewed-by: Benjamin Copeland <ben.copeland@linaro.org>
-rw-r--r-- | reload.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/reload.sh b/reload.sh new file mode 100644 index 0000000..5eef910 --- /dev/null +++ b/reload.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +# ensure SIGHUP is sent to all workers +# so they reload files +killall -HUP gunicorn |