ctdb-scripts: Set NFS services to "AUTO" if started by another service
commit337ef7c1b417cce94a6f1480f17dae477fadf565
authorMartin Schwenke <martin@meltin.net>
Fri, 18 Mar 2022 01:47:10 +0000 (18 12:47 +1100)
committerAmitay Isaacs <amitay@samba.org>
Fri, 24 Jun 2022 09:49:32 +0000 (24 09:49 +0000)
tree94f3fa48a42f5e5ff53dd3acf92d1bffc11e629a
parent8b8660d883cb5130f40fa8993cd4cae96cf1dde4
ctdb-scripts: Set NFS services to "AUTO" if started by another service

For example, in Sys-V init "rquotad" is started by the main "nfs"
service.  At the moment the call-out can't distinguish between this
case and "should never be run".  Services set to "AUTO" are
hand-stopped/started via service_stop()/service_start() on failure via
restart_after.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/config/nfs-linux-kernel-callout