ceph/patches/0002-enable-systemd-targets-by-default.patch
Thomas Lamprecht 77e666e915 refresh patches for 17.2.8
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-11-28 19:49:26 +01:00

31 lines
1.1 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
Date: Wed, 22 Mar 2017 09:00:34 +0100
Subject: [PATCH] enable systemd targets by default
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
---
debian/rules | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/debian/rules b/debian/rules
index 9f49deabb0e..b123ae95424 100755
--- a/debian/rules
+++ b/debian/rules
@@ -98,6 +98,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
dh_systemd_enable