1 # ==> /etc/systemd/system/yahns.socket <==
3 Description = yahns sockets
7 # yahns can handle an arbitrary number of listen sockets,
8 # so I prefer to keep listeners for IPv4 and IPv6 separate
9 # to avoid ugly IPv4-mapped-IPv6 addresses for IPv4 clients:
10 # (e.g ":ffff:10.0.0.1" instead of just "10.0.0.1").
11 ListenStream = 0.0.0.0:443
12 BindIPv6Only = ipv6-only
13 ListenStream = [::]:443
17 WantedBy = sockets.target