ctdb-scripts: Add systemd services to NFS call-out
authorMartin Schwenke <martin@meltin.net>
Wed, 20 Mar 2019 06:45:10 +0000 (17:45 +1100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 12 Apr 2019 07:57:11 +0000 (07:57 +0000)
commitaee71ea6863c45467b3e897ce8f5c093d88b8020
tree28c2151dff9ece24756c914616298d3e91a31dd8
parent7932032de40129e43cb5815ee747c41ebdecb07c
ctdb-scripts: Add systemd services to NFS call-out

At least Red Hat and Debian appear to use (a variant of?) the upstream
systemd units for NFS, so adding support for these services is
relatively easy.  Distributions using Sys-V init can patch the
call-out to use the relevant Sys-V init services.

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 a8fafd377ff0cb07ab161e437c5fe024704345eb)
ctdb/config/nfs-linux-kernel-callout