Merge pull request #614 from bt90/patch-4

Start apache with exec
This commit is contained in:
sstidl 2024-05-15 06:34:46 +02:00 committed by GitHub
commit 8713facba5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View file

@ -38,6 +38,9 @@ ENV ENABLE_ID_OBFUSCATION=false
ENV REDACT_IP_ADDRESSES=false
ENV WEBPORT=80
# https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop
STOPSIGNAL SIGWINCH
# Final touches
EXPOSE 80
CMD ["bash", "/entrypoint.sh"]

View file

@ -88,4 +88,4 @@ fi
echo "Done, Starting APACHE"
# This runs apache
apache2-foreground
exec apache2-foreground