UltraMonkey-L7 V3(multi-thread implementation)
Revision | 1c698e2a66cfc22abb9d098b81a58ca9bafe3af7 (tree) |
---|---|
Time | 2011-01-18 11:25:49 |
Author | Michiro Hibari <hibari@user...> |
Commiter | Michiro Hibari |
bug fix. Remove need less option "-b".
pgrep -fox "/usr/sbin/l7vsd -b => pgrep -fox "/usr/sbin/l7vsd
@@ -118,7 +118,7 @@ isRunning(){ | ||
118 | 118 | # Flush Virtual Service Method |
119 | 119 | ############################### |
120 | 120 | l7vsd_flush(){ |
121 | - PS=`pgrep -fox "/usr/sbin/l7vsd -b" | wc -l` | |
121 | + PS=`pgrep -fox "/usr/sbin/l7vsd" | wc -l` | |
122 | 122 | if [ $PS -eq 1 ]; then |
123 | 123 | ocf_log info "[l7vsadm]: flush virtual service!" |
124 | 124 | l7vsadm -C |