git.samba.org
/
tridge
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
037e64e
)
source the nfs sysconfig file from the 61.nfstickles script
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Tue, 19 Jan 2010 23:35:02 +0000
(10:35 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Tue, 19 Jan 2010 23:35:02 +0000
(10:35 +1100)
config/events.d/61.nfstickle
patch
|
blob
|
history
diff --git
a/config/events.d/61.nfstickle
b/config/events.d/61.nfstickle
index b717e2adcda0f0340eb64ebc8e9dbeaa59e45715..14794fe3066787f1ef4c4efad485eed3c077ef30 100755
(executable)
--- a/
config/events.d/61.nfstickle
+++ b/
config/events.d/61.nfstickle
@@
-3,6
+3,8
@@
. $CTDB_BASE/functions
+. /etc/sysconfig/nfs
+
service_name="nfs"
service_start="mkdir -p $CTDB_BASE/state/nfstickle;mkdir -p $NFS_TICKLE_SHARED_DIRECTORY/`hostname`;echo 1 > /proc/sys/net/ipv4/tcp_tw_recycle"
service_reconfigure=$service_start