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:
parent
fd8bc2a3fc
commit
3ebff8dadf
|
|
@ -147,6 +147,9 @@ RUN set -eux; \
|
||||||
# smoke test
|
# smoke test
|
||||||
httpd -v
|
httpd -v
|
||||||
|
|
||||||
|
# https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop
|
||||||
|
STOPSIGNAL WINCH
|
||||||
|
|
||||||
COPY httpd-foreground /usr/local/bin/
|
COPY httpd-foreground /usr/local/bin/
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
|
||||||
|
|
@ -146,6 +146,9 @@ RUN set -eux; \
|
||||||
# smoke test
|
# smoke test
|
||||||
httpd -v
|
httpd -v
|
||||||
|
|
||||||
|
# https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop
|
||||||
|
STOPSIGNAL WINCH
|
||||||
|
|
||||||
COPY httpd-foreground /usr/local/bin/
|
COPY httpd-foreground /usr/local/bin/
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue