ceph/patches/0002-enable-systemd-targets-by-default.patch
Thomas Lamprecht 0d0a03a08f update patches for quincy beta
basically just some context or line number changes

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-10-03 09:54:58 +02:00

30 lines
1.0 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>
---
debian/rules | 3 +++
1 file changed, 3 insertions(+)
diff --git a/debian/rules b/debian/rules
index b5ce42c6f3..00e9ac6b16 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