ceph/patches/0002-enable-systemd-targets-by-default.patch
Alwin Antreich 11963c2338 build: pull changelog out of patches
to simplify rebasing on new upstream releases.

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
2019-02-06 11:02:59 +01:00

28 lines
948 B
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
@@ -133,6 +133,9 @@ 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-osd ceph-osd.target
# NOTE: execute systemd helpers so they pickup dh_install'ed units and targets
dh_systemd_enable