mark_nl
(Mark Verlinde)
95
IIUC:
if a dummy /etc/httpd/conf.d/zz_gitea.conf (which gets overwritten at template expansion) is in the package it is removed by RPM.
/usr/bin/systemctl reload httpd is not needed: the update event after removal takes care of this.
Just to be sure at package removal (not update) may keep:
%postun
if [ $1 == 0 ]; then
/usr/bin/rm -f /etc/httpd/conf.d/zz_gitea.conf > /dev/null 2>&1
fi
EDIT:
Know one possible suspect:
2 Likes