File: leafnode.socket

package info (click to toggle)
leafnode 1.12.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,488 kB
  • sloc: ansic: 10,961; sh: 1,738; xml: 627; makefile: 258; perl: 84; sed: 4
file content (21 lines) | stat: -rw-r--r-- 512 bytes parent folder | download | duplicates (2)
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