blob: c409a949d4399fd214ca9c1c51275838c6db0b36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
:orphan:
============================================================
ceph-detect-init -- display the init system Ceph should use
============================================================
.. program:: ceph-detect-init
Synopsis
========
| **ceph-detect-init** [--verbose] [--use-rhceph] [--default *init*]
Description
===========
:program:`ceph-detect-init` is a utility that prints the init system
Ceph uses. It can be one of ``sysvinit``, ``upstart`` or ``systemd``.
The init system Ceph uses may not be the default init system of the
host operating system. For instance on Debian Jessie, Ceph may use
``sysvinit`` although ``systemd`` is the default.
If the init system of the host operating system is unknown, return on
error, unless :option:`--default` is specified.
Options
=======
.. option:: --use-rhceph
When an operating system identifies itself as Red Hat, it is
treated as if it was CentOS. With :option:`--use-rhceph` it is
treated as RHEL instead.
.. option:: --default INIT
If the init system of the host operating system is unkown, return
the value of *INIT* instead of failing with an error.
.. option:: --verbose
Display additional information for debugging.
Bugs
====
: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:
- `upstart` on `Ubuntu 14.04`
- `systemd` on `Ubuntu 15.04` and up
- `systemd` on `Debian 8` and up
- `systemd` on `RHEL/CentOS 7` and up
- `systemd` on `Fedora 22` and up
Availability
============
:program:`ceph-detect-init` is part of Ceph, a massively scalable, open-source, distributed storage system. Please refer to
the Ceph documentation at http://ceph.com/docs for more information.
See also
========
:doc:`ceph-disk <ceph-disk>`\(8),
:doc:`ceph-deploy <ceph-deploy>`\(8)
|