---
name: "ceph-detect-init"
section: "8"
platform: "linux"
package: "ceph-base"
version: "12.2.11+dfsg1-2.1+b1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/ceph-detect-init"
---

# ceph-detect-init(8)

display the init system Ceph should use

## NAME

ceph-detect-init - display the init system Ceph should use

## SYNOPSIS

```
ceph-detect-init [--verbose] [--use-rhceph] [--default init]
```

## DESCRIPTION

**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 *--default* is specified.

## OPTIONS

- **--use-rhceph**

  When an operating system identifies itself as Red Hat, it is treated as if it was CentOS. With *--use-rhceph* it is treated as RHEL instead.

- **--default INIT**

  If the init system of the host operating system is unknown, return the value of *INIT* instead of failing with an error.

- **--verbose**

  Display additional information for debugging.

## BUGS

**ceph-detect-init** is used by **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

**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

[ceph-disk(8)](/ceph-disk/8.md), [ceph-deploy(8)](/ceph-deploy/8.md)

## COPYRIGHT

2010-2019, Inktank Storage, Inc. and contributors. Licensed under Creative Commons Attribution Share Alike 3.0 (CC-BY-SA-3.0)
