Remove %systemd_postun_with_restart from %postun

Signed-off-by: Vitezslav Crhonek <vcrhonek@redhat.com>
This commit is contained in:
Vitezslav Crhonek 2021-06-22 10:24:24 +02:00
parent b7c1ef0039
commit 07c9612e44

View File

@ -279,8 +279,6 @@ fi
if [ $1 -eq 0 ]; then
%selinux_modules_uninstall -s %{selinuxtype} %{modulename}
%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
%endif