summaryrefslogtreecommitdiffstats
path: root/gluster-block.spec.in
diff options
context:
space:
mode:
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2017-08-11 22:19:38 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2017-09-15 13:56:25 +0000
commitf20605d85396132575a83da6b827f854c03dbf01 (patch)
tree75a98b0e5de4fb92009e53248425de43ae1f1f3b /gluster-block.spec.in
parent9d76a57dc9cd804f15042ccd683b7d05e35b9b7a (diff)
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 <prasanna.kalever@redhat.com>
Diffstat (limited to 'gluster-block.spec.in')
-rw-r--r--gluster-block.spec.in4
1 files changed, 4 insertions, 0 deletions
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 <prasanna.kalever@redhat.com>
+- add wrapper target service unit
+
* Tue Jun 22 2017 Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
- update with missing dependencies