public-inbox.git  about / heads / tags
an "archives first" approach to mailing lists
blob 10335d8d784c7ac546d95ddf811ec16c220573a6 908 bytes (raw)
$ git show HEAD:examples/public-inbox-nntpd.socket	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 
# ==> /etc/systemd/system/public-inbox-nntpd.socket <==
# Consider looking at public-inbox-netd.socket instead of this file
# to simplify management when serving multiple protocols.
#
# This contains 5 sockets for an public-inbox-nntpd instance.
# The TCP ports are well-known ports registered in /etc/services.
# The /run/nntpd.onion.sock entry is meant for the Tor hidden service
# enabled by the following line in the torrc(5) file:
#   HiddenServicePort 119 unix:/run/nntpd.onion.sock
[Unit]
Description = public-inbox-nntpd sockets

[Socket]
ListenStream = 0.0.0.0:119
ListenStream = 0.0.0.0:563
ListenStream = /run/nntpd.onion.sock

# Separating IPv4 from IPv6 listeners makes for nicer output
# of IPv4 addresses in various reporting/monitoring tools
BindIPv6Only = ipv6-only
ListenStream = [::]:119
ListenStream = [::]:563

Service = public-inbox-nntpd@1.service

[Install]
WantedBy = sockets.target

git clone https://public-inbox.org/public-inbox.git
git clone http://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/public-inbox.git