]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: Change service type to forking via systemd
authorAdam King <adking@redhat.com>
Tue, 25 Aug 2020 16:34:12 +0000 (12:34 -0400)
committerNathan Cutler <ncutler@suse.com>
Tue, 6 Oct 2020 09:40:32 +0000 (11:40 +0200)
commit21ade2478c813492fe1230256d61964c4e51e206
tree196641b00dc86fa59b71b577a1b1b0b52e2f9fcc
parent8709e60e6dcc1f035e51a049a002735baed6dcdf
cephadm: Change service type to forking via systemd

Using Type=Forking and setting the PIDFile=
directive is the supported configuration for
running podman containers with systemd as it
more accuractely models what is actually
happening. Type=Simple assumes podman is the
direct parent of the container processes which
is not true.

Fixes: https://tracker.ceph.com/issues/46654
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit e6792f306ab4d07251588fdca6ed3876ae3a092a)
src/cephadm/cephadm