PREUN
/bin/sh
if [ "$1" -eq "0" ] ; then # Package removal, not upgrade /bin/systemctl --no-reload disable httpd.service httpd-worker.service httpd-event.service > /dev/null 2>&1 || : /bin/systemctl stop httpd.service httpd-worker.service httpd-event.service > /dev/null 2>&1 || : fi
POSTIN
/bin/sh
# Register the httpd service if [ "$1" -eq "1" ] ; then # Initial installation /bin/systemctl daemon-reload >/dev/null 2>&1 || : fi
POSTUN
/bin/sh
/bin/systemctl daemon-reload >/dev/null 2>&1 || :