From 43f3a82f322055f427983d3b199df5e638a8182a Mon Sep 17 00:00:00 2001 From: Dinis Date: Mon, 5 Apr 2021 16:59:05 +0100 Subject: [PATCH] Create apache2-foreground --- apache2-foreground | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 apache2-foreground diff --git a/apache2-foreground b/apache2-foreground new file mode 100644 index 0000000..34540e8 --- /dev/null +++ b/apache2-foreground @@ -0,0 +1,7 @@ +#!/bin/bash +set -e + +# Apache gets grumpy about PID files pre-existing +rm -f /var/run/apache2/apache2.pid + +exec apache2ctl -DFOREGROUND "$@"