git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c47da8b
)
when shutting down ctdb, allow it 30 seconds instead of 10 before will -9 the daemon
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Tue, 21 Feb 2012 08:02:36 +0000
(19:02 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Tue, 21 Feb 2012 08:02:36 +0000
(19:02 +1100)
(This used to be ctdb commit
d8b400d76665f37ffd9de302eedcff9f23807225
)
ctdb/config/ctdb.init
patch
|
blob
|
history
diff --git
a/ctdb/config/ctdb.init
b/ctdb/config/ctdb.init
index 9b30b860045fca6781495fafc794dbbfbb6cfdd0..0b863447b5dc707d2bece74f2b29959d60354aaf 100755
(executable)
--- a/
ctdb/config/ctdb.init
+++ b/
ctdb/config/ctdb.init
@@
-313,7
+313,7
@@
stop() {
while pkill -0 -f $ctdbd ; do
sleep 1
count=$(($count + 1))
- [ $count -gt
1
0 ] && {
+ [ $count -gt
3
0 ] && {
echo -n $"killing ctdbd "
pkill -9 -f $ctdbd
pkill -9 -f $CTDB_BASE/events.d/