systemd needs to reload the newly installed sogod.service, otherwise enable/start will fail on first sogo installation
parent
84dfba7978
commit
bea9b26907
|
@ -390,6 +390,7 @@ fi
|
||||||
# update timestamp on imgs,css,js to let apache know the files changed
|
# update timestamp on imgs,css,js to let apache know the files changed
|
||||||
find %{_libdir}/GNUstep/SOGo/WebServerResources -exec touch {} \;
|
find %{_libdir}/GNUstep/SOGo/WebServerResources -exec touch {} \;
|
||||||
%if 0%{?_with_systemd}
|
%if 0%{?_with_systemd}
|
||||||
|
systemctl daemon-reload
|
||||||
systemctl enable sogod
|
systemctl enable sogod
|
||||||
systemctl start sogod > /dev/null 2>&1
|
systemctl start sogod > /dev/null 2>&1
|
||||||
%else
|
%else
|
||||||
|
|
Loading…
Reference in New Issue