[Pkg-ceph-commits] [ceph] 07/23: Sortout broken patching
James Downing Page
jamespage at moszumanska.debian.org
Wed Feb 17 10:42:01 UTC 2016
This is an automated email from the git hooks/post-receive script.
jamespage pushed a commit to branch jewel
in repository ceph.
commit e5cb7bc4a1a032fe7277b7bc06901cc3a83ef442
Author: James Page <james.page at ubuntu.com>
Date: Mon Jan 25 15:24:36 2016 +0000
Sortout broken patching
---
src/ceph-detect-init/ceph_detect_init/debian/__init__.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/ceph-detect-init/ceph_detect_init/debian/__init__.py b/src/ceph-detect-init/ceph_detect_init/debian/__init__.py
index 7209ff6..59b4781 100644
--- a/src/ceph-detect-init/ceph_detect_init/debian/__init__.py
+++ b/src/ceph-detect-init/ceph_detect_init/debian/__init__.py
@@ -9,5 +9,8 @@ def choose_init():
Returns the name of a init system (upstart, sysvinit ...).
"""
if distro.lower() in ('ubuntu', 'linuxmint'):
- return 'upstart'
+ if codename >= 'vivid':
+ return 'systemd'
+ else:
+ return 'upstart'
return 'sysvinit'
--
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