Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / doc / man / 8 / ceph-detect-init.rst
1 :orphan:
2
3 ============================================================
4  ceph-detect-init -- display the init system Ceph should use
5 ============================================================
6
7 .. program:: ceph-detect-init
8
9 Synopsis
10 ========
11
12 | **ceph-detect-init** [--verbose] [--use-rhceph] [--default *init*]
13
14 Description
15 ===========
16
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.
22
23 If the init system of the host operating system is unknown, return on
24 error, unless :option:`--default` is specified.
25
26 Options
27 =======
28
29 .. option:: --use-rhceph
30
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.
34
35 .. option:: --default INIT
36
37    If the init system of the host operating system is unkown, return
38    the value of *INIT* instead of failing with an error.
39
40 .. option:: --verbose
41
42    Display additional information for debugging.
43
44 Bugs
45 ====
46
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:
48
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
54
55 Availability
56 ============
57
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.
60
61 See also
62 ========
63
64 :doc:`ceph-disk <ceph-disk>`\(8),
65 :doc:`ceph-deploy <ceph-deploy>`\(8)