Skip to content

Commit 9e50ad0

Browse files
committed
Set STOPSIGNAL to WINCH for httpd's "graceful-stop"
See https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop for more details! Closes #877
1 parent 876847b commit 9e50ad0

File tree

8 files changed

+24
-0
lines changed

8 files changed

+24
-0
lines changed

7.1/buster/apache/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,9 @@ RUN { echo '#!/bin/sh'; echo 'exec pkg-config "$@" freetype2'; } > /usr/local/bi
259259

260260
ENTRYPOINT ["docker-php-entrypoint"]
261261
##<autogenerated>##
262+
# https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop
263+
STOPSIGNAL WINCH
264+
262265
COPY apache2-foreground /usr/local/bin/
263266
WORKDIR /var/www/html
264267

7.1/stretch/apache/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,9 @@ COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
256256

257257
ENTRYPOINT ["docker-php-entrypoint"]
258258
##<autogenerated>##
259+
# https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop
260+
STOPSIGNAL WINCH
261+
259262
COPY apache2-foreground /usr/local/bin/
260263
WORKDIR /var/www/html
261264

7.2/buster/apache/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,9 @@ RUN { echo '#!/bin/sh'; echo 'exec pkg-config "$@" freetype2'; } > /usr/local/bi
268268

269269
ENTRYPOINT ["docker-php-entrypoint"]
270270
##<autogenerated>##
271+
# https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop
272+
STOPSIGNAL WINCH
273+
271274
COPY apache2-foreground /usr/local/bin/
272275
WORKDIR /var/www/html
273276

7.2/stretch/apache/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,9 @@ RUN docker-php-ext-enable sodium
277277

278278
ENTRYPOINT ["docker-php-entrypoint"]
279279
##<autogenerated>##
280+
# https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop
281+
STOPSIGNAL WINCH
282+
280283
COPY apache2-foreground /usr/local/bin/
281284
WORKDIR /var/www/html
282285

7.3/buster/apache/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,9 @@ RUN { echo '#!/bin/sh'; echo 'exec pkg-config "$@" freetype2'; } > /usr/local/bi
268268

269269
ENTRYPOINT ["docker-php-entrypoint"]
270270
##<autogenerated>##
271+
# https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop
272+
STOPSIGNAL WINCH
273+
271274
COPY apache2-foreground /usr/local/bin/
272275
WORKDIR /var/www/html
273276

7.3/stretch/apache/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,9 @@ RUN docker-php-ext-enable sodium
277277

278278
ENTRYPOINT ["docker-php-entrypoint"]
279279
##<autogenerated>##
280+
# https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop
281+
STOPSIGNAL WINCH
282+
280283
COPY apache2-foreground /usr/local/bin/
281284
WORKDIR /var/www/html
282285

7.4-rc/buster/apache/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ RUN docker-php-ext-enable sodium
269269

270270
ENTRYPOINT ["docker-php-entrypoint"]
271271
##<autogenerated>##
272+
# https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop
273+
STOPSIGNAL WINCH
274+
272275
COPY apache2-foreground /usr/local/bin/
273276
WORKDIR /var/www/html
274277

apache-Dockerfile-block-2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop
2+
STOPSIGNAL WINCH
3+
14
COPY apache2-foreground /usr/local/bin/
25
WORKDIR /var/www/html
36

0 commit comments

Comments
 (0)