1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

when shutting down ctdb, allow it 30 seconds instead of 10 before will -9 the daemon

(This used to be ctdb commit d8b400d76665f37ffd9de302eedcff9f23807225)
This commit is contained in:
Ronnie Sahlberg 2012-02-21 19:02:36 +11:00
parent c47da8b028
commit 81fb334cff

View File

@ -313,7 +313,7 @@ stop() {
while pkill -0 -f $ctdbd ; do
sleep 1
count=$(($count + 1))
[ $count -gt 10 ] && {
[ $count -gt 30 ] && {
echo -n $"killing ctdbd "
pkill -9 -f $ctdbd
pkill -9 -f $CTDB_BASE/events.d/