ctdb-scripts: Try to deal with Ubuntu having /usr/sbin/service
authorMartin Schwenke <martin@meltin.net>
Mon, 1 Dec 2014 01:21:16 +0000 (12:21 +1100)
committerKarolin Seeger <kseeger@samba.org>
Sun, 19 Apr 2015 19:21:37 +0000 (21:21 +0200)
commit6cbfa359fb150cc1e9284d6ace8a3ddee09b5651
tree2e85810a1f000bcf340dbd9e52deb9595adf614f
parente3d3ffd6421d1127e365d9bc820f597af774beae
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>
(cherry picked from commit a5c5eee7d186d938c5b458cb6dbf0c78cb548b63)
ctdb/config/functions