1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
# /etc/systemd/system/leafnode.socket
#
# to start: also install leafnode@.service
# then: systemctl enable --now leafnode.socket
#
# Note: if you want to provide service to the network,
# change the 127.0.0.1 to 0.0.0.0, and
# change the [::1] to [::]
[Unit]
Description=Leafnode NNTP service, socket-activated
Documentation=man:leafnode(8)
[Socket]
# avoid IPv4-onto-IPv6-mapping addresses
BindIPv6Only=ipv6-only
ListenStream=127.0.0.1:119
ListenStream=[::1]:119
Accept=yes
[Install]
WantedBy=sockets.target
|