3 ============================================================
4 ceph-detect-init -- display the init system Ceph should use
5 ============================================================
7 .. program:: ceph-detect-init
12 | **ceph-detect-init** [--verbose] [--use-rhceph] [--default *init*]
17 :program:`ceph-detect-init` is a utility that prints the init system
18 Ceph uses. It can be one of ``sysvinit``, ``upstart`` or ``systemd``.
19 The init system Ceph uses may not be the default init system of the
20 host operating system. For instance on Debian Jessie, Ceph may use
21 ``sysvinit`` although ``systemd`` is the default.
23 If the init system of the host operating system is unknown, return on
24 error, unless :option:`--default` is specified.
29 .. option:: --use-rhceph
31 When an operating system identifies itself as Red Hat, it is
32 treated as if it was CentOS. With :option:`--use-rhceph` it is
33 treated as RHEL instead.
35 .. option:: --default INIT
37 If the init system of the host operating system is unkown, return
38 the value of *INIT* instead of failing with an error.
42 Display additional information for debugging.
47 :program:`ceph-detect-init` is used by :program:`ceph-disk` to figure out the init system to manage the mount directory of an OSD. But only following combinations are fully tested:
49 - `upstart` on `Ubuntu 14.04`
50 - `systemd` on `Ubuntu 15.04` and up
51 - `systemd` on `Debian 8` and up
52 - `systemd` on `RHEL/CentOS 7` and up
53 - `systemd` on `Fedora 22` and up
58 :program:`ceph-detect-init` is part of Ceph, a massively scalable, open-source, distributed storage system. Please refer to
59 the Ceph documentation at http://ceph.com/docs for more information.
64 :doc:`ceph-disk <ceph-disk>`\(8),
65 :doc:`ceph-deploy <ceph-deploy>`\(8)