mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
cmdeploy: disable nsd so it doesn't block port 53
This commit is contained in:
@@ -588,6 +588,12 @@ def deploy_chatmail(config_path: Path, disable_mail: bool) -> None:
|
||||
# Run local DNS resolver `unbound`.
|
||||
# `resolvconf` takes care of setting up /etc/resolv.conf
|
||||
# to use 127.0.0.1 as the resolver.
|
||||
systemd.service(
|
||||
name="Disable nsd if it's running, so it doesn't block port 53",
|
||||
service="nsd.service",
|
||||
running=False,
|
||||
enabled=False,
|
||||
)
|
||||
apt.packages(
|
||||
name="Install unbound",
|
||||
packages=["unbound", "unbound-anchor", "dnsutils"],
|
||||
|
||||
Reference in New Issue
Block a user