git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a97b7f
)
ctdb-scripts: Start NFS quota service if defined
author
Martin Schwenke
<martin@meltin.net>
Thu, 21 Mar 2019 04:30:00 +0000
(15:30 +1100)
committer
Karolin Seeger
<kseeger@samba.org>
Fri, 12 Apr 2019 07:57:11 +0000
(07:57 +0000)
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>
(cherry picked from commit
708c04071af8d6ddc3bf2bddbde4d5847f440c0e
)
ctdb/config/nfs-linux-kernel-callout
patch
|
blob
|
history
diff --git
a/ctdb/config/nfs-linux-kernel-callout
b/ctdb/config/nfs-linux-kernel-callout
index 74f7f0a16b0fde45e81d258c8710d4c5b8d0ac28..ae1e4d5a7af8e0efdedaa67b75318249ab4a3f4c 100755
(executable)
--- a/
ctdb/config/nfs-linux-kernel-callout
+++ b/
ctdb/config/nfs-linux-kernel-callout
@@
-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