summaryrefslogtreecommitdiffstats
path: root/adei
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-02-22 04:49:08 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-02-22 04:49:08 +0100
commit521d7e938779e7d3a94aefa35c6e429aed1c3946 (patch)
treebade39a8c478bc00e3503878ec0c909ba81e1cbd /adei
parent2a32f59c055f76b3420726930a08a0a95474cc2c (diff)
downloadadei-521d7e938779e7d3a94aefa35c6e429aed1c3946.tar.gz
adei-521d7e938779e7d3a94aefa35c6e429aed1c3946.tar.bz2
adei-521d7e938779e7d3a94aefa35c6e429aed1c3946.tar.xz
adei-521d7e938779e7d3a94aefa35c6e429aed1c3946.zip
Fix typo
Diffstat (limited to 'adei')
-rw-r--r--adei/Dockerfile2
-rwxr-xr-xadei/scripts/run-apache.sh2
2 files changed, 3 insertions, 1 deletions
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