diff options
Diffstat (limited to '')
-rw-r--r-- | distro/common/systemd/kresd.socket | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/distro/common/systemd/kresd.socket b/distro/common/systemd/kresd.socket new file mode 100644 index 0000000..9dd9424 --- /dev/null +++ b/distro/common/systemd/kresd.socket @@ -0,0 +1,17 @@ +[Unit] +Description=Knot Resolver network listeners +Documentation=man:kresd.systemd(7) +Documentation=man:kresd(8) +Before=sockets.target + +[Socket] +FreeBind=true +ListenDatagram=[::1]:53 +ListenStream=[::1]:53 +ListenDatagram=127.0.0.1:53 +ListenStream=127.0.0.1:53 +Service=kresd@1.service +Slice=system-kresd.slice + +[Install] +WantedBy=sockets.target |