]> git.proxmox.com Git - ceph.git/blob - patches/0004-enable-systemd-targets-by-default.patch
rebase patches on top of v12.0.2
[ceph.git] / patches / 0004-enable-systemd-targets-by-default.patch
1 From cf2641af1f3e3c86e7a6cfdadd8967b837b88893 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
3 Date: Wed, 22 Mar 2017 09:00:34 +0100
4 Subject: [PATCH 4/5] enable systemd targets by default
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
10 ---
11 debian/rules | 3 +++
12 1 file changed, 3 insertions(+)
13
14 diff --git a/debian/rules b/debian/rules
15 index 3810602..9c1b33c 100755
16 --- a/debian/rules
17 +++ b/debian/rules
18 @@ -124,6 +124,9 @@ override_dh_installinit:
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
26 override_dh_systemd_start:
27 dh_systemd_start --no-restart-on-upgrade
28 --
29 2.1.4
30