]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: Introduce unit.stop 42242/head
authorSebastian Wagner <sewagner@redhat.com>
Wed, 21 Jul 2021 12:13:52 +0000 (14:13 +0200)
committerSebastian Wagner <sewagner@redhat.com>
Wed, 4 Aug 2021 12:56:46 +0000 (14:56 +0200)
commit0f66a5198e38c59aba1be11d586d49ad01c9afce
treebf6bb2cb4971d9622cf229e40c22341481ff4ae8
parent71162c6fea7aba2e30cf50d8a0f1a5a0cf3b2462
cephadm: Introduce unit.stop

Reason is we now have to stop two containers named differently. This is possible
with `bash -c ... echo %i | tr . -`. But we're not gainig anything readability
compared to putting it into a unit.stop script.

As not all daemons have this stop script, we still have to call podman for old daemons.

Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
src/cephadm/cephadm