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

ctdb-scripts: Start NFS quota service if defined

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13860

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
This commit is contained in:
Martin Schwenke 2019-03-21 15:30:00 +11:00 committed by Martin Schwenke
parent 42103b5686
commit 708c04071a

View File

@ -87,7 +87,12 @@ basic_stop ()
{
case "$1" in
nfs)
if [ -n "$nfs_rquotad_service" ] ; then
service "$nfs_rquotad_service" stop
fi
service "$nfs_service" stop
if [ -n "$nfs_lock_service" ] ; then
service "$nfs_lock_service" stop
fi
@ -111,7 +116,12 @@ basic_start ()
if [ -n "$nfs_lock_service" ] ; then
service "$nfs_lock_service" start
fi
service "$nfs_service" start
if [ -n "$nfs_rquotad_service" ] ; then
service "$nfs_rquotad_service" start
fi
;;
nfslock)
if [ -n "$nfs_lock_service" ] ; then