ctdb-scripts: Support systemctl directly
authorMartin Schwenke <martin@meltin.net>
Tue, 10 May 2016 16:42:40 +0000 (02:42 +1000)
committerMartin Schwenke <martins@samba.org>
Fri, 20 May 2016 15:33:18 +0000 (17:33 +0200)
commit61d38c8556ddbdd99de8186f5246f597241f62de
tree14f1c1d1094e9b9f42fec2586892dad0cf9e76b8
parent1c76746b637bc1867f85ba94786b89f22d1b0c32
ctdb-scripts: Support systemctl directly

Some Linux distributions don't have a "service" compatibility command.

To avoid breaking working systems, prefer the "service" compatibility
command just in case it does some extra, unexpected magic.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Kai Blin <kai@samba.org>
ctdb/config/functions