From 54ab0bf822bec60bec48a1e79ba0553e69f1dd79 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Wed, 20 May 2015 14:24:02 -0400 Subject: [PATCH] (fix) rhel7 packaging fix --- packaging/rhel/sogo.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packaging/rhel/sogo.spec b/packaging/rhel/sogo.spec index 02bf547ce..1400b39e4 100644 --- a/packaging/rhel/sogo.spec +++ b/packaging/rhel/sogo.spec @@ -287,7 +287,9 @@ rm -fr ${RPM_BUILD_ROOT} %files -n sogo %defattr(-,root,root,-) +%if !0%{?_with_systemd} /etc/init.d/sogod +%endif /etc/cron.daily/sogo-tmpwatch %dir %attr(0700, %sogo_user, %sogo_user) %{_var}/lib/sogo %dir %attr(0700, %sogo_user, %sogo_user) %{_var}/log/sogo