1 # ==> /etc/systemd/system/public-inbox-nntpd.socket <==
2 # This contains 5 sockets for an public-inbox-nntpd instance.
3 # The TCP ports are well-known ports registered in /etc/services.
4 # The /run/nntpd.onion.sock entry is meant for the Tor hidden service
5 # enabled by the following line in the torrc(5) file:
6 # HiddenServicePort 119 unix:/run/nntpd.onion.sock
8 Description = public-inbox-nntpd sockets
11 ListenStream = 0.0.0.0:119
12 ListenStream = 0.0.0.0:563
13 ListenStream = /run/nntpd.onion.sock
15 # Separating IPv4 from IPv6 listeners makes for nicer output
16 # of IPv4 addresses in various reporting/monitoring tools
17 BindIPv6Only = ipv6-only
18 ListenStream = [::]:119
19 ListenStream = [::]:563
21 Service = public-inbox-nntpd@1.service
24 WantedBy = sockets.target