git.samba.org
/
metze
/
ctdb
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94f12fd
)
Make sure to always create the tickle directories for nfs
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Mon, 8 Mar 2010 18:27:41 +0000
(
05:27
+1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Mon, 8 Mar 2010 18:27:41 +0000
(
05:27
+1100)
on the monitor event
BZ56707
config/events.d/61.nfstickle
patch
|
blob
|
history
diff --git
a/config/events.d/61.nfstickle
b/config/events.d/61.nfstickle
index c91d3938a9e30bd431179cc8e0dbc7977022e0ae..99004984c82c982fee56bff268209a8bbd9c6e07 100755
(executable)
--- a/
config/events.d/61.nfstickle
+++ b/
config/events.d/61.nfstickle
@@
-17,6
+17,11
@@
ctdb_start_stop_service
store_tickles()
{
+ # always create these direcotries since NFS might be enabled at runtime
+ # and we dont want to restart ctdbd
+ mkdir -p $CTDB_BASE/state/nfstickle
+ mkdir -p $NFS_TICKLE_SHARED_DIRECTORY/`hostname`
+
mydir=$NFS_TICKLE_SHARED_DIRECTORY/`hostname`
rm -f $mydir/*
# record our connections to shared storage