]> git.proxmox.com Git - pve-manager.git/commit
ceph api: Make systemd unit type suffix optional
authorDominic Jäger <d.jaeger@proxmox.com>
Mon, 17 Feb 2020 11:28:57 +0000 (12:28 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 17 Feb 2020 12:08:21 +0000 (13:08 +0100)
commit6e7f4ca63f78e7fcc6a53840c5685b8e7ca57c59
tree416c2b504543b39c69ac290495b5783a49d86f3b
parent7da6ff26711e9d14c4e8278314990d7bab4324a9
ceph api: Make systemd unit type suffix optional

To (re)start and stop Ceph services the API calls systemd units using the
function ceph_service_cmd.  If unspecified, this function assumes the type
".target" for a unit. By making the unit type suffix in the API optional, it
can make use of this assumption.

Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
PVE/API2/Ceph.pm