Sophie

Sophie

distrib > Fedora > 17 > i386 > media > updates > by-pkgid > 3545f4e017e48ed195352200e3c02114 > scriptlet

exim-clamav-4.76-9.fc17.i686.rpm

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