mirror of
https://github.com/samba-team/samba.git
synced 2025-03-26 18:50:30 +03:00
Eventscripts: update 60.nfs service() start to use set_proc().
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 70ebb30b90956bb1212287d267ccb72ea83740ca)
This commit is contained in:
parent
4b516600a2
commit
6fd94af5cc
@ -6,7 +6,7 @@ start_nfs() {
|
||||
/bin/mkdir -p $CTDB_VARDIR/state/statd/ip
|
||||
startstop_nfs stop
|
||||
startstop_nfs start
|
||||
echo 1 > /proc/sys/net/ipv4/tcp_tw_recycle
|
||||
set_proc "sys/net/ipv4/tcp_tw_recycle" 1
|
||||
}
|
||||
|
||||
. $CTDB_BASE/functions
|
||||
|
Loading…
x
Reference in New Issue
Block a user