File: public-inbox-netd.socket

package info (click to toggle)
public-inbox 1.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 4,152 kB
  • sloc: perl: 52,771; sh: 302; ansic: 106; makefile: 37
file content (45 lines) | stat: -rw-r--r-- 1,322 bytes parent folder | download
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# ==> /etc/systemd/system/public-inbox-netd.socket <==
# This contains all the services that public-inbox-netd can run;
# allowing it to replace (or run in parallel to) any existing -httpd,
# -imapd, -nntpd, or -pop3d instances.
#
# The TCP ports are well-known ports registered in /etc/services.
# The /run/*.sock entries are meant for the Tor hidden service
# enabled by the following lines in the torrc(5) file:
#   HiddenServicePort 110 unix:/run/pop3.sock
#   HiddenServicePort 119 unix:/run/nntp.sock
#   HiddenServicePort 143 unix:/run/imap.sock
[Unit]
Description = public-inbox-netd sockets

[Socket]
# for tor (see torrc(5))
ListenStream = /run/imap.sock
ListenStream = /run/pop3.sock
ListenStream = /run/nntp.sock

# this is for varnish:
ListenStream = 127.0.0.1:280

# public facing
ListenStream = 0.0.0.0:110
ListenStream = 0.0.0.0:119
ListenStream = 0.0.0.0:143
ListenStream = 0.0.0.0:563
ListenStream = 0.0.0.0:993
ListenStream = 0.0.0.0:995

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

Service = public-inbox-netd@1.service

[Install]
WantedBy = sockets.target