X-Git-Url: https://review.fuel-infra.org/gitweb?p=openstack-build%2Fneutron-build.git;a=blobdiff_plain;f=rpm%2FSOURCES%2Fneutron-linuxbridge-agent.init;h=ab4445c68bb794eefb2518ad109b22b837d7d336;hp=141a9750bf5588f117b91df30b57ec2e8e2f146a;hb=423ca751f5d0d102af56e1601de9f9552b91a80e;hpb=a5c3300f72cd2762f2a9f3dd767aa812fe3e5ffe diff --git a/rpm/SOURCES/neutron-linuxbridge-agent.init b/rpm/SOURCES/neutron-linuxbridge-agent.init index 141a9750b..ab4445c68 100644 --- a/rpm/SOURCES/neutron-linuxbridge-agent.init +++ b/rpm/SOURCES/neutron-linuxbridge-agent.init @@ -39,6 +39,11 @@ start() { stop() { echo -n $"Stopping $prog: " killproc -p $pidfile $prog + if pgrep $prog &>/dev/null ; then + sleep 2 + pgrep $prog &>/dev/null && \ + killall $prog + fi retval=$? echo [ $retval -eq 0 ] && rm -f $lockfile