]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
vstart/stop: do not loop forever on kill 991/head
authorLoic Dachary <loic@dachary.org>
Mon, 23 Dec 2013 20:44:38 +0000 (21:44 +0100)
committerLoic Dachary <loic@dachary.org>
Mon, 23 Dec 2013 20:44:38 +0000 (21:44 +0100)
commit3b0d9b2c4dd6590b16fd95c101b8d886b2bda403
tree884519f21ef884c74089db36d0409721c6c87551
parent9ffe9ddfc9f74ca5562cc8f833c39073a8632f49
vstart/stop: do not loop forever on kill

It may be the case that stop.sh can't stop a process for reasons
unrelated to vstart.sh. Because apache runs independantly, for
instance. Instead of trying forever, try twice in a raw ( should be
enough 99% of the case ) and try three more times, sleeping one second
between each try should be more than enough.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/stop.sh