Add 10 sec delay after killing apache2
authorAndy Witter <awitter@georgialibraries.org>
Sat, 13 Jan 2018 22:59:38 +0000 (17:59 -0500)
committerAndy Witter <awitter@georgialibraries.org>
Sat, 13 Jan 2018 22:59:38 +0000 (17:59 -0500)
templates/setup-head.sh

index c2d773b..fe5a4e8 100755 (executable)
@@ -232,6 +232,8 @@ systemctl stop apache2
 echo;echo killing apache2 processes just in case...
 sleep 3
 ps -ef | grep apache2 | grep -v grep | awk '{print $2}' | xargs kill
+echo "waiting 10 seconds...."
+sleep 10
 if ps -ef | grep apache2 | grep -vq grep
 then
        echo;echo