summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 19988db0910..10dd67eabd7 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -530,7 +530,7 @@ Requires: psmisc
Requires: lvm2
Requires: nfs-utils
%if ( 0%{?_with_systemd:1} )
-Requires(post): systemd-units
+Requires(post): systemd-units, systemd
Requires(preun): systemd-units
Requires(postun): systemd-units
%else
@@ -588,6 +588,9 @@ Requires: python-gluster = %{version}-%{release}
%if ( 0%{?rhel} && 0%{?rhel} <= 6 )
Requires: python-argparse
%endif
+%if ( 0%{?_with_systemd:1} )
+Requires(post): systemd
+%endif
%description events
GlusterFS Events