From 521d7e938779e7d3a94aefa35c6e429aed1c3946 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 22 Feb 2018 04:49:08 +0100 Subject: Fix typo --- adei/Dockerfile | 2 ++ adei/scripts/run-apache.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'adei') diff --git a/adei/Dockerfile b/adei/Dockerfile index 3556644..e0ee4ad 100644 --- a/adei/Dockerfile +++ b/adei/Dockerfile @@ -44,6 +44,8 @@ RUN ln -sf /etc/mime.types /etc/apache2/mime.types && \ chmod -R +r /etc/apache2 && \ chmod a+w /etc/apache2/listen.conf && \ chmod a+w /etc/apache2/server-tuning.conf && \ + mkdir -p /etc/apache2/sysconfig.d && \ + chmod a+rwx /etc/apache2/sysconfig.d && \ sed -i'' -re 's@/var/run@/tmp@' /usr/sbin/start_apache2 && \ chmod +x /usr/sbin/start_apache2 diff --git a/adei/scripts/run-apache.sh b/adei/scripts/run-apache.sh index 159a265..202df62 100755 --- a/adei/scripts/run-apache.sh +++ b/adei/scripts/run-apache.sh @@ -57,7 +57,7 @@ if [ -n "$APACHE_SERVERS" -a "$APACHE_SERVERS" -ne 0 ]; then max_spare=0 fi [ $start -eq 0 ] || ised -re "s/StartServers(.*)/StartServers $start/" /etc/apache2/server-tuning.conf - [ $limit -eq 0 ] || isedt -re "s/MaxClients(.*)/MaxClients $limit/" /etc/apache2/server-tuning.conf + [ $limit -eq 0 ] || ised -re "s/MaxClients(.*)/MaxClients $limit/" /etc/apache2/server-tuning.conf [ $min_spare -eq 0 ] || ised -re "s/MinSpareServers(.*)/MinSpareServers $min_spare/" /etc/apache2/server-tuning.conf [ $max_spare -eq 0 ] || ised -re "s/MaxSpareServers(.*)/MaxSpareServers $max_spare/" /etc/apache2/server-tuning.conf fi -- cgit v1.2.3