From f20605d85396132575a83da6b827f854c03dbf01 Mon Sep 17 00:00:00 2001 From: Prasanna Kumar Kalever Date: Fri, 11 Aug 2017 22:19:38 +0530 Subject: systemd: fix systemd dependency list This patch brings a wrapper target service unit 'gluster-block-target.service' which ensures tcmu-runner gets activated. To fix this properly we need a change in tcmu-runner [1] unit which has to define precedence of glusterd service. [1] https://github.com/open-iscsi/tcmu-runner/pull/296 Change-Id: I32d7d82eec03e0cc9111eb58241190af30244a3c Signed-off-by: Prasanna Kumar Kalever --- gluster-block.spec.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gluster-block.spec.in') diff --git a/gluster-block.spec.in b/gluster-block.spec.in index c4216ae..e9e01e1 100644 --- a/gluster-block.spec.in +++ b/gluster-block.spec.in @@ -54,10 +54,14 @@ rm -rf ${RPM_BUILD_ROOT} %{_mandir}/man8/gluster-block*.8* %if ( 0%{?_with_systemd:1} ) %{_unitdir}/gluster-blockd.service +%{_unitdir}/gluster-block-target.service %config(noreplace) %{_sysconfdir}/sysconfig/gluster-blockd %endif %changelog +* Fri Aug 11 2017 Prasanna Kumar Kalever +- add wrapper target service unit + * Tue Jun 22 2017 Prasanna Kumar Kalever - update with missing dependencies -- cgit