1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-06 19:44:01 +08:00
Files
kubo/misc/systemd/ipfs-gateway.socket
Steven Allen 429c4b537c implement systemd socket activation
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-09-27 16:08:30 -07:00

16 lines
305 B
SYSTEMD

# Enabling this will *completely override* any Gateway listeners configured in
# your config.
[Unit]
Description=IPFS Gateway Socket
[Socket]
Service=ipfs.service
FileDescriptorName=io.ipfs.gateway
BindIPv6Only=true
ListenStream=127.0.0.1:8080
ListenStream=[::1]:8080
[Install]
WantedBy=sockets.target