1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-21 18:04:06 +03:00

ctdb-doc: Put NFS in grace on startipreallocate

Signed-off-by: Vinit Agnihotri <vagnihotri@ddn.com>
Reviewed-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
Vinit Agnihotri 2023-10-26 23:07:47 -07:00 committed by Volker Lendecke
parent 34c76ffec5
commit e3294e5526

View File

@ -267,6 +267,11 @@ grace_period()
fi
}
nfs_startipreallocate()
{
grace_period "0:"
}
nfs_releaseip()
{
_ip="$2"
@ -329,6 +334,7 @@ startup
stop
start
check
startipreallocate
releaseip
takeip
monitor-list-shares
@ -346,11 +352,12 @@ startup) nfs_startup ;;
stop) service_stop "$1" ;;
start) service_start "$1" ;;
check) service_check "$1" ;;
startipreallocate) nfs_startipreallocate ;;
releaseip) nfs_releaseip "$@" ;;
takeip) nfs_takeip "$@" ;;
monitor-list-shares) nfs_monitor_list_shares ;;
register) nfs_register ;;
monitor-pre|monitor-post|releaseip-pre|takeip-pre|startipreallocate)
monitor-pre|monitor-post|releaseip-pre|takeip-pre)
# Not required/implemented
:
;;