chore(packaging): don't force a start after installation

Fixes #5073
pull/284/head
Francis Lachapelle 2020-07-09 15:56:07 -04:00
parent 76936a7d8f
commit ddbed84dbf
1 changed files with 2 additions and 2 deletions

View File

@ -363,10 +363,10 @@ find %{_docdir}/ -name '*.sh' -exec chmod a+x {} \;
%if 0%{?_with_systemd}
systemctl daemon-reload
systemctl enable sogod
systemctl start sogod > /dev/null 2>&1
systemctl try-restart sogod > /dev/null 2>&1
%else
/sbin/chkconfig --add sogod
/etc/init.d/sogod condrestart >&/dev/null
/etc/init.d/sogod condrestart > /dev/null 2>&1
%endif
%preun