ctdb-scripts: Try to deal with Ubuntu having /usr/sbin/service
commita5c5eee7d186d938c5b458cb6dbf0c78cb548b63
authorMartin Schwenke <martin@meltin.net>
Mon, 1 Dec 2014 01:21:16 +0000 (1 12:21 +1100)
committerMichael Adam <obnox@samba.org>
Fri, 9 Jan 2015 01:03:40 +0000 (9 02:03 +0100)
tree31a1101cabf96972528f8a4f8182eae2965ca871
parent82aa6bd2f27775f3fd82931d613379d5d618ef70
ctdb-scripts: Try to deal with Ubuntu having /usr/sbin/service

Falling back to running the initscript doesn't work because it detects
that upstart is being used and fails.  This was observed when trying
to start winbind on Ubuntu 11.04.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Michael Adam <obnox@samba.org>
ctdb/config/functions