git://scientific.zcu.cz
/
rOCCI-packaging-fedora.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ca9287
)
Reload httpd configuration after removal. httpd restart on upgrade probably not needed.
author
František Dvořák
<valtri@civ.zcu.cz>
Sun, 14 Sep 2014 20:27:31 +0000
(22:27 +0200)
committer
František Dvořák
<valtri@civ.zcu.cz>
Sun, 14 Sep 2014 20:37:32 +0000
(22:37 +0200)
rOCCI-server.spec
patch
|
blob
|
blame
|
history
diff --git
a/rOCCI-server.spec
b/rOCCI-server.spec
index
ad1d395
..
b48b374
100644
(file)
--- a/
rOCCI-server.spec
+++ b/
rOCCI-server.spec
@@
-232,8
+232,11
@@
if [ "$1" -ge "1" ] ; then # Upgrade
semodule -i %{_datadir}/selinux/packages/%{name}/%{semodule_name}.pp 2>/dev/null || :
restorecon -R %{app_root} %{_localstatedir}/log/rocci-server 2>/dev/null || :
fi
-# rOCCI-server.target doesn't support restarting, use httpd instead
-%systemd_postun httpd.service
+if [ "$1" -lt "1" ] ; then # Final removal
+ # reload httpd needed
+ systemctl reload httpd.service >/dev/null 2>&1
+fi
+%systemd_postun
%files