ctdb-scripts: Refactor the manual RPC service start/stop
commit8b8660d883cb5130f40fa8993cd4cae96cf1dde4
authorMartin Schwenke <martin@meltin.net>
Mon, 23 May 2022 04:21:37 +0000 (23 14:21 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 24 Jun 2022 09:49:32 +0000 (24 09:49 +0000)
tree24871028c7276c9184fe256233a8535e1a3cdd0c
parentcd018d0ff5c57ccd50f64fd0ed1591e3dfe27baf
ctdb-scripts: Refactor the manual RPC service start/stop

This logic needs improving, so factor the decision making into new
functions service_or_manual_stop() and service_or_manual_start().

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