From dfe9895825ffbab23d9e8925b28282206d6678f8 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 21 Feb 2018 21:11:45 +0100 Subject: Move pid file to /tmp folder --- adei/scripts/run-apache.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'adei/scripts') 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 -- cgit v1.2.3