server=/mail.iankelling.org/127.0.1.1
EOF
if systemctl is-active dnsmasq >/dev/null; then
- m systemctl reload dnsmasq
+ m systemctl restart dnsmasq
m nscd -i hosts
fi
echo | /a/exe/cedit mail /etc/dnsmasq-servers.conf || [[ $? == 1 ]]
if systemctl is-active dnsmasq >/dev/null; then
m nscd -i hosts
- m systemctl reload dnsmasq
+ m systemctl restart dnsmasq # reload does not ensure new config is used
fi
m systemctl disable mailclean.timer &>/dev/null ||: