1 # ==> /etc/systemd/system/public-inbox-nntpd.socket <==
2 # Consider looking at public-inbox-netd.socket instead of this file
3 # to simplify management when serving multiple protocols.
5 # This contains 5 sockets for an public-inbox-nntpd instance.
6 # The TCP ports are well-known ports registered in /etc/services.
7 # The /run/nntpd.onion.sock entry is meant for the Tor hidden service
8 # enabled by the following line in the torrc(5) file:
9 # HiddenServicePort 119 unix:/run/nntpd.onion.sock
11 Description = public-inbox-nntpd sockets
14 ListenStream = 0.0.0.0:119
15 ListenStream = 0.0.0.0:563
16 ListenStream = /run/nntpd.onion.sock
18 # Separating IPv4 from IPv6 listeners makes for nicer output
19 # of IPv4 addresses in various reporting/monitoring tools
20 BindIPv6Only = ipv6-only
21 ListenStream = [::]:119
22 ListenStream = [::]:563
24 Service = public-inbox-nntpd@1.service
27 WantedBy = sockets.target