From 57157303a3d79c615bd7c5c4939562525a7ac29c Mon Sep 17 00:00:00 2001 From: Kelley Spoon Date: Mon, 19 Mar 2018 22:31:14 -0500 Subject: 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 --- reload.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 reload.sh 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 -- cgit v1.2.3