projects
/
contrib
/
pines
/
genasys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a570ae
)
Add 10 sec delay after killing apache2
author
Andy Witter
<awitter@georgialibraries.org>
Sat, 13 Jan 2018 22:59:38 +0000
(17:59 -0500)
committer
Andy Witter
<awitter@georgialibraries.org>
Sat, 13 Jan 2018 22:59:38 +0000
(17:59 -0500)
templates/setup-head.sh
patch
|
blob
|
history
diff --git
a/templates/setup-head.sh
b/templates/setup-head.sh
index
c2d773b
..
fe5a4e8
100755
(executable)
--- a/
templates/setup-head.sh
+++ b/
templates/setup-head.sh
@@
-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