[Pkg-ceph-commits] [ceph] 73/85: Disable radosgw SysV init script on systemd

Gaudenz Steinlin gaudenz at moszumanska.debian.org
Mon Dec 26 20:47:30 UTC 2016


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

gaudenz pushed a commit to branch jewel
in repository ceph.

commit 4d78b007d653ca9fc33cb8478ed2c64d1aa390f3
Author: Gaudenz Steinlin <gaudenz at debian.org>
Date:   Sat Dec 17 11:57:33 2016 +0100

    Disable radosgw SysV init script on systemd
    
    The names of the systemd unit file and the SysV init script differ.
    Explicitly disable the SysV script so it's not run by the systemd
    compatibility layer.
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index aa38177..dc2f914 100755
--- a/debian/rules
+++ b/debian/rules
@@ -112,6 +112,8 @@ 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
+	# 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

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