]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk-activate: auto detect init system
authorSage Weil <sage@inktank.com>
Thu, 14 Feb 2013 00:02:10 +0000 (16:02 -0800)
committerSage Weil <sage@inktank.com>
Thu, 14 Feb 2013 06:18:59 +0000 (22:18 -0800)
commitd1904b2a848af3c02d2065ac2a42abe0e2699d0f
tree4f5701d6cc19398a6e234c2230a6c0e9d10d59c5
parentf06b45e66315310abb0720e021da377186455048
ceph-disk-activate: auto detect init system

Look for an option 'init' in ceph.conf.  Otherwise, check if we're ubuntu.
If so, use upstart.  Otherwise, use sysvinit.

Signed-off-by: Sage Weil <sage@inktank.com>
src/ceph-disk-activate