PREUN
/bin/sh
if [ $1 -eq 0 ]; then
/bin/systemctl --no-reload dnsmasq.service > /dev/null 2>&1 || :
/bin/systemctl stop dnsmasq.service > /dev/null 2>&1 || :
fi
POSTIN
/bin/sh
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 dnsmasq.service >/dev/null 2>&1 || :
fi
Triggers
dnsmasq <
2.52-3
/bin/sh
/usr/bin/systemd-sysv-convert --save dnsmasq >/dev/null 2>&1 ||:
/sbin/chkconfig --del dnsmasq >/dev/null 2>&1 || :
/bin/systemctl try-restart dnsmasq.service >/dev/null 2>&1 || :