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