[Pkg-ceph-commits] [ceph] 26/41: d/rules: Install upstart and systemd configurations for rbd-mirror.
Gaudenz Steinlin
gaudenz at moszumanska.debian.org
Mon Aug 15 21:27:05 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 67d2ec552d174098e90f566af2948ab2e95c5acf
Author: Gaudenz Steinlin <gaudenz at debian.org>
Date: Sun Jul 31 22:37:30 2016 +0200
d/rules: Install upstart and systemd configurations for rbd-mirror.
---
debian/rules | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/debian/rules b/debian/rules
index 8e51150..b70415e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -105,6 +105,11 @@ override_dh_installinit:
cp -v $$conf debian/radosgw.$$name.upstart; \
dh_installinit -pradosgw --no-start --name=$$name; \
done
+ for conf in `ls -1 src/upstart/ceph-rbd-mirror*.conf`; do \
+ name=`basename $$conf | cut -d . -f 1`; \
+ cp -v $$conf debian/rbd-mirror.$$name.upstart; \
+ dh_installinit -prbd-mirror --no-start --name=$$name; \
+ done
# install the systemd stuff manually since we have funny service names
# and need to update the paths in all of the files post install
# systemd:ceph-common
@@ -137,6 +142,10 @@ override_dh_installinit:
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
+ # 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
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