[Pkg-ceph-commits] [ceph] 01/01: 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).

James Downing Page jamespage at moszumanska.debian.org
Tue Apr 5 16:49:30 UTC 2016


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

jamespage pushed a commit to branch ubuntu-xenial
in repository ceph.

commit 3545ef2973d32d40483368bd0d6b5b2b14a203ed
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/changelog | 4 ++++
 debian/rules     | 6 ++++++
 2 files changed, 10 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 36bd919..af1c4e9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,10 @@ ceph (10.1.0-0ubuntu1) UNRELEASED; urgency=medium
     processes and threads to long running ceph processes; the default
     of 512 tasks is way to low for even a modest Ceph cluster
     (LP: #1564917).
+  * 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).
 
  -- James Page <james.page at ubuntu.com>  Wed, 30 Mar 2016 09:12:17 +0100
 
diff --git a/debian/rules b/debian/rules
index 7dc21d5..a7d5091 100755
--- a/debian/rules
+++ b/debian/rules
@@ -152,6 +152,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