[Pkg-ceph-commits] [ceph] 01/07: Install systemd targets for ceph services

Gaudenz Steinlin gaudenz at moszumanska.debian.org
Thu Jan 12 22:21:22 UTC 2017


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

gaudenz pushed a commit to branch jewel
in repository ceph.

commit f603924c58be18b1693e0f016a05030fb123756a
Author: Gaudenz Steinlin <gaudenz at debian.org>
Date:   Mon Jan 9 22:48:06 2017 +0100

    Install systemd targets for ceph services
    
    Only ceph.target was installed, also install the individual service
    targets ceph-mon.target, ceph-osd.target, ceph-mds.target,
    ceph-radosgw.target and ceph-rbd-mirror.target.
    
    Closes: #850509
---
 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index 42798c5..8affd57 100755
--- a/debian/rules
+++ b/debian/rules
@@ -113,26 +113,31 @@ override_dh_installinit:
 	install -d -m0755 debian/ceph-mon/lib/systemd/system
 	install -m0644 systemd/ceph-mon at .service debian/ceph-mon/lib/systemd/system
 	sed -i s./etc/sysconfig/./etc/default/.g debian/ceph-mon/lib/systemd/system/ceph-mon at .service
+	install -m0644 systemd/ceph-mon.target debian/ceph-mon/lib/systemd/system
 	# systemd:ceph-osd
 	install -d -m0755 debian/ceph-osd/lib/systemd/system
 	install -m0644 systemd/ceph-osd at .service debian/ceph-osd/lib/systemd/system
 	install -m0644 systemd/ceph-disk at .service debian/ceph-osd/lib/systemd/system
 	sed -i s./etc/sysconfig/./etc/default/.g debian/ceph-osd/lib/systemd/system/ceph-osd at .service
 	sed -i s./etc/sysconfig/./etc/default/.g debian/ceph-osd/lib/systemd/system/ceph-disk at .service
+	install -m0644 systemd/ceph-osd.target debian/ceph-osd/lib/systemd/system
 	# systemd:ceph-mds
 	install -d -m0755 debian/ceph-mds/lib/systemd/system
 	install -m0644 systemd/ceph-mds at .service debian/ceph-mds/lib/systemd/system
 	sed -i s./etc/sysconfig/./etc/default/.g debian/ceph-mds/lib/systemd/system/ceph-mds at .service
+	install -m0644 systemd/ceph-mds.target debian/ceph-mds/lib/systemd/system
 	# systemd:radosgw
 	install -d -m0755 debian/radosgw/lib/systemd/system
 	install -m0644 systemd/ceph-radosgw at .service debian/radosgw/lib/systemd/system
 	sed -i s./etc/sysconfig/./etc/default/.g debian/radosgw/lib/systemd/system/ceph-radosgw at .service
+	install -m0644 systemd/ceph-radosgw.target debian/radosgw/lib/systemd/system
 	# disable SysV init file for systemd
 	ln -s /dev/null debian/radosgw/lib/systemd/system/radosgw.service
 	# systemd:rbd-mirror
 	install -d -m0755 debian/rbd-mirror/lib/systemd/system
 	install -m0644 systemd/ceph-rbd-mirror at .service debian/rbd-mirror/lib/systemd/system
 	sed -i s./etc/sysconfig/./etc/default/.g debian/rbd-mirror/lib/systemd/system/ceph-rbd-mirror at .service
+	install -m0644 systemd/ceph-rbd-mirror.target debian/rbd-mirror/lib/systemd/system
 
 override_dh_systemd_enable:
 	## Do not enable services to match `dh_installinit --no-start`

-- 
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