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:
50546ba
)
quietly check for apache procs, filtering out our grep
author
Chris Sharp
<csharp@georgialibraries.org>
Fri, 12 Jan 2018 23:09:34 +0000
(18:09 -0500)
committer
Chris Sharp
<csharp@georgialibraries.org>
Fri, 12 Jan 2018 23:09:34 +0000
(18:09 -0500)
templates/setup-head.sh
patch
|
blob
|
history
diff --git
a/templates/setup-head.sh
b/templates/setup-head.sh
index
a3661f0
..
533b827
100755
(executable)
--- a/
templates/setup-head.sh
+++ b/
templates/setup-head.sh
@@
-206,7
+206,7
@@
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
-if ps -ef | grep apache2
+if ps -ef | grep apache2
| grep -vq grep
then
echo;echo
echo "apache2 processes are still running please kill them manually"