X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=mail-setup;h=98d5c415ae931655f906570ba4bdbca7862d0fe2;hp=68478bec55a07860a6c86d82ec3cefaae97704c9;hb=7d5e9e87105fafa2243603f958c8b41cdaa7f0ad;hpb=32a1673064cfd9eaa165b4ea62fa416f02f3dfd2 diff --git a/mail-setup b/mail-setup index 68478be..98d5c41 100755 --- a/mail-setup +++ b/mail-setup @@ -676,7 +676,7 @@ EOF 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 @@ -810,7 +810,7 @@ EOF 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 ||: