X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=mail-setup;h=98d5c415ae931655f906570ba4bdbca7862d0fe2;hb=6061d88c7d5beda3e974943eb8676f7c39d4ae9f;hp=68478bec55a07860a6c86d82ec3cefaae97704c9;hpb=32a1673064cfd9eaa165b4ea62fa416f02f3dfd2;p=distro-setup 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 ||: