PREUN
/bin/sh
if [ $1 = 0 ]; then
/bin/systemctl --no-reload clamd.exim.service > /dev/null 2>&1 || :
/bin/systemctl stop clamd.exim.service > /dev/null 2>&1 || :
fi
POSTIN
/bin/sh
/bin/mkdir -p 0750 /var/run/clamd.exim
/bin/chown exim:exim /var/run/clamd.exim
/bin/touch /var/log/clamd.exim
/bin/chown exim.exim /var/log/clamd.exim
/sbin/restorecon /var/log/clamd.exim
if [ $1 -eq 1 ] ; then
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
fi
POSTUN
/bin/sh
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
if [ $1 -ge 1 ] ; then
/bin/systemctl try-restart clamd.exim.service >/dev/null 2>&1 || :
fi