mirror of
https://github.com/chatmail/relay.git
synced 2026-05-21 05:18:04 +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`.
|
# Run local DNS resolver `unbound`.
|
||||||
# `resolvconf` takes care of setting up /etc/resolv.conf
|
# `resolvconf` takes care of setting up /etc/resolv.conf
|
||||||
# to use 127.0.0.1 as the resolver.
|
# 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(
|
apt.packages(
|
||||||
name="Install unbound",
|
name="Install unbound",
|
||||||
packages=["unbound", "unbound-anchor", "dnsutils"],
|
packages=["unbound", "unbound-anchor", "dnsutils"],
|
||||||
|
|||||||
Reference in New Issue
Block a user