From 79bfc7aedf0b03acf40f78fbc714c12d11f37254 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Wed, 20 May 2015 14:27:57 -0400 Subject: [PATCH] (fix) more rhel7 fix --- packaging/rhel/sogo.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packaging/rhel/sogo.spec b/packaging/rhel/sogo.spec index 1400b39e4..988f7c693 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} +%if 0%{?_with_systemd} +/usr/lib/systemd/system/sogod.service +%else /etc/init.d/sogod %endif /etc/cron.daily/sogo-tmpwatch