1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-05-17 06:57:40 +08:00
Files
kubo/misc/systemd/ipfs-api.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
293 B
SYSTEMD

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