]> git.proxmox.com Git - ceph.git/commitdiff
also enable MDS and MGR target by default
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 6 May 2021 15:26:56 +0000 (17:26 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 6 May 2021 15:28:29 +0000 (17:28 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
patches/0002-enable-systemd-targets-by-default.patch

index cb5ddca518a89717b5c284020d36b1d376be7a07..d9efdbb2008f5d72071eb4a07f92dcb953ae0d15 100644 (file)
@@ -15,12 +15,14 @@ diff --git a/debian/rules b/debian/rules
 index b5ce42c6f3..00e9ac6b16 100755
 --- a/debian/rules
 +++ b/debian/rules
-@@ -133,6 +133,9 @@ override_dh_installinit:
+@@ -82,6 +82,11 @@ override_dh_installinit:
  
        dh_installinit -p ceph-base --name ceph --no-start
        dh_installinit -p radosgw --no-start
 +      dh_systemd_enable -p ceph-common ceph.target
 +      dh_systemd_enable -p ceph-mon ceph-mon.target
++      dh_systemd_enable -p ceph-mgr ceph-mgr.target
++      dh_systemd_enable -p ceph-mds ceph-mds.target
 +      dh_systemd_enable -p ceph-osd ceph-osd.target
  
        # NOTE: execute systemd helpers so they pickup dh_install'ed units and targets