systemd needs to reload the newly installed sogod.service, otherwise enable/start will fail on first sogo installation

pull/86/head
Gilles Gagniard 2015-05-26 22:55:14 +02:00
parent 84dfba7978
commit bea9b26907
1 changed files with 1 additions and 0 deletions

View File

@ -390,6 +390,7 @@ fi
# update timestamp on imgs,css,js to let apache know the files changed
find %{_libdir}/GNUstep/SOGo/WebServerResources -exec touch {} \;
%if 0%{?_with_systemd}
systemctl daemon-reload
systemctl enable sogod
systemctl start sogod > /dev/null 2>&1
%else