yahns.git  about / heads / tags
sleepy, multi-threaded, non-blocking application server for Ruby
blob 6455b41f75e0a421cee3752a0df02af5e6ce921c 459 bytes (raw)
$ git show HEAD:examples/yahns.socket	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
 
# ==> /etc/systemd/system/yahns.socket <==
[Unit]
Description = yahns sockets

[Socket]

# yahns can handle an arbitrary number of listen sockets,
# so I prefer to keep listeners for IPv4 and IPv6 separate
# to avoid ugly IPv4-mapped-IPv6 addresses for IPv4 clients:
# (e.g ":ffff:10.0.0.1" instead of just "10.0.0.1").
ListenStream = 0.0.0.0:443
BindIPv6Only = ipv6-only
ListenStream = [::]:443
Service = yahns@1.service

[Install]
WantedBy = sockets.target

git clone git://yhbt.net/yahns.git
git clone https://yhbt.net/yahns.git