yahns Ruby server user/dev discussion
 help / color / mirror / code / Atom feed
blob 6455b41f75e0a421cee3752a0df02af5e6ce921c 459 bytes (raw)
name: examples/yahns.socket 	 # note: path name is non-authoritative(*)

 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

debug log:

solving 6455b41 ...
found 6455b41 in https://yhbt.net/yahns.git/

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).