]> git.proxmox.com Git - ceph.git/blame - patches/0002-enable-systemd-targets-by-default.patch
followup: forogt to stage series file..
[ceph.git] / patches / 0002-enable-systemd-targets-by-default.patch
CommitLineData
aa6f50f4 1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
810574b0
FG
2From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
3Date: Wed, 22 Mar 2017 09:00:34 +0100
aa6f50f4 4Subject: [PATCH] enable systemd targets by default
810574b0
FG
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
10---
11 debian/rules | 3 +++
12 1 file changed, 3 insertions(+)
13
14diff --git a/debian/rules b/debian/rules
67cd334a 15index b5ce42c6f3..00e9ac6b16 100755
810574b0
FG
16--- a/debian/rules
17+++ b/debian/rules
215dd715 18@@ -133,6 +133,9 @@ override_dh_installinit:
810574b0
FG
19
20 dh_installinit -p ceph-base --name ceph --no-start
21 dh_installinit -p radosgw --no-start
22+ dh_systemd_enable -p ceph-common ceph.target
23+ dh_systemd_enable -p ceph-mon ceph-mon.target
24+ dh_systemd_enable -p ceph-osd ceph-osd.target
25
9439ae55
WB
26 # NOTE: execute systemd helpers so they pickup dh_install'ed units and targets
27 dh_systemd_enable