Remove %systemd_postun_with_restart from %postun
Signed-off-by: Vitezslav Crhonek <vcrhonek@redhat.com>
This commit is contained in:
parent
b7c1ef0039
commit
07c9612e44
@ -279,8 +279,6 @@ fi
|
|||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
%selinux_modules_uninstall -s %{selinuxtype} %{modulename}
|
%selinux_modules_uninstall -s %{selinuxtype} %{modulename}
|
||||||
%selinux_relabel_post -s %{selinuxtype}
|
%selinux_relabel_post -s %{selinuxtype}
|
||||||
# the service needs to be restarted for the custom label to be removed
|
|
||||||
%systemd_postun_with_restart openwsmand.service
|
|
||||||
fi
|
fi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user