Set STOPSIGNAL to WINCH for httpd's "graceful-stop"

See https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop for more details!

Closes #145
This commit is contained in:
Tianon Gravi 2019-08-20 12:59:58 -07:00
parent fd8bc2a3fc
commit 3ebff8dadf
2 changed files with 6 additions and 0 deletions

View File

@ -147,6 +147,9 @@ RUN set -eux; \
# smoke test
httpd -v
# https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop
STOPSIGNAL WINCH
COPY httpd-foreground /usr/local/bin/
EXPOSE 80

View File

@ -146,6 +146,9 @@ RUN set -eux; \
# smoke test
httpd -v
# https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop
STOPSIGNAL WINCH
COPY httpd-foreground /usr/local/bin/
EXPOSE 80