[Pkg-ceph-commits] [ceph] 31/41: d/rules: Ensure that dh_systemd_start does not insert maintainer script snippets for ceph-mon and ceph-create-keys - service restart should be handled outside of the packaging as it is under upstart and for all other systemd unit files installed (LP: #1563330).

Gaudenz Steinlin gaudenz at moszumanska.debian.org
Mon Aug 15 21:27:06 UTC 2016


This is an automated email from the git hooks/post-receive script.

gaudenz pushed a commit to branch jewel-gaudenz
in repository ceph.

commit 7007c6c90a2841fa26f8fc565341bc37ca9088ab
Author: James Page <james.page at ubuntu.com>
Date:   Tue Apr 5 17:49:25 2016 +0100

    d/rules: Ensure that dh_systemd_start does not insert maintainer script snippets for ceph-mon and ceph-create-keys - service restart should be handled outside of the packaging as it is under upstart and for all other systemd unit files installed (LP: #1563330).
---
 debian/rules | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/rules b/debian/rules
index b70415e..a361124 100755
--- a/debian/rules
+++ b/debian/rules
@@ -153,6 +153,12 @@ override_dh_systemd_enable:
 	## Users are expected to "systemctl enable" services once their
 	## configuration is correct.
 
+override_dh_systemd_start:
+	## Do not start services to match `dh_installinit --no-start`
+	## behaviour.
+	## Users are expected to "systemctl start" services once their
+	## configuration is correct or after package updates.
+
 override_dh_strip:
 	dh_strip -pceph --dbg-package=ceph-dbg
 	dh_strip -pceph-mds --dbg-package=ceph-mds-dbg

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ceph/ceph.git



More information about the Pkg-ceph-commits mailing list