summaryrefslogtreecommitdiffstats
path: root/adei/scripts/run-apache.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-02-21 21:11:45 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-02-21 21:11:45 +0100
commitdfe9895825ffbab23d9e8925b28282206d6678f8 (patch)
treeafc37c4494c09090fca030b94c540e19211fba9b /adei/scripts/run-apache.sh
parent0f86d4f7d5b0bb2c64d8adefa4dd93a2a5506c11 (diff)
downloadadei-dfe9895825ffbab23d9e8925b28282206d6678f8.tar.gz
adei-dfe9895825ffbab23d9e8925b28282206d6678f8.tar.bz2
adei-dfe9895825ffbab23d9e8925b28282206d6678f8.tar.xz
adei-dfe9895825ffbab23d9e8925b28282206d6678f8.zip
Move pid file to /tmp folder
Diffstat (limited to 'adei/scripts/run-apache.sh')
-rwxr-xr-xadei/scripts/run-apache.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/adei/scripts/run-apache.sh b/adei/scripts/run-apache.sh
index 1db3397..e7d894b 100755
--- a/adei/scripts/run-apache.sh
+++ b/adei/scripts/run-apache.sh
@@ -55,5 +55,5 @@ if [ -n "$APACHE_SERVERS" -a "$APACHE_SERVERS" -ne 0 ]; then
[ $max_spare -eq 0 ] || sed -i'' -re "s/MaxSpareServers(.*)/MaxSpareServers $max_spare/" /etc/apache2/server-tuning.conf
fi
-rm -f /var/run/httpd.pid
+rm -f /tmp/httpd.pid
/usr/sbin/apache2ctl start -D FOREGROUND