Skip to content

Commit 8713fac

Browse files
authored
Merge pull request #614 from bt90/patch-4
Start apache with exec
2 parents dd1ce2c + d00c9bb commit 8713fac

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ ENV ENABLE_ID_OBFUSCATION=false
3838
ENV REDACT_IP_ADDRESSES=false
3939
ENV WEBPORT=80
4040

41+
# https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop
42+
STOPSIGNAL SIGWINCH
43+
4144
# Final touches
4245
EXPOSE 80
4346
CMD ["bash", "/entrypoint.sh"]

docker/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@ fi
8888
echo "Done, Starting APACHE"
8989

9090
# This runs apache
91-
apache2-foreground
91+
exec apache2-foreground

0 commit comments

Comments
 (0)