summaryrefslogtreecommitdiff
path: root/httpd-foreground
diff options
context:
space:
mode:
authorJonas Kohl2024-11-07 17:59:09 +0100
committerJonas Kohl2024-11-07 17:59:09 +0100
commit0f4328e1713dfea73e82c91a3ca194d734416fe3 (patch)
tree8e729d639eada93c6bc4e46fada3b02885efd75d /httpd-foreground
parentbf940e4049ea39dc84f6c837bba094ba441cc491 (diff)
Dockerize whole application
Diffstat (limited to 'httpd-foreground')
-rw-r--r--httpd-foreground7
1 files changed, 7 insertions, 0 deletions
diff --git a/httpd-foreground b/httpd-foreground
new file mode 100644
index 0000000..e896168
--- /dev/null
+++ b/httpd-foreground
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -e
+
+# Apache gets grumpy about PID files pre-existing
+rm -f /usr/local/apache2/logs/httpd.pid
+
+exec httpd -DFOREGROUND "$@"