]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: `ls`: also return systemd_unit
authorSebastian Wagner <sebastian.wagner@suse.com>
Mon, 18 May 2020 10:35:34 +0000 (12:35 +0200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Thu, 21 May 2020 21:33:18 +0000 (23:33 +0200)
commit16a1a037f6512809b1073db026a181074a6bab6f
treea7aa9424e6e92d7297aa54fbe0f7d0db06e864ad
parentfe5e32d9f766c9806637ef84d4eef562bf682001
cephadm: `ls`: also return systemd_unit

Let users directly know the systemd unit name.

Enable things like

```
cephadm ls | jq -r '.[].systemd_unit' | xargs -n 1 systemctl status | cat
```

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit d8f81540600ee1687030259ed535a390a5b65f09)
src/cephadm/cephadm