kubo/p2p
Marcin Rataj e7bb8129d3 feat(p2p): add --foreground flag to listen and forward commands
adds `-f/--foreground` option that keeps the command running until
interrupted (SIGTERM/Ctrl+C) or closed via `ipfs p2p close`. the
listener/forwarder is automatically removed when the command exits.

useful for systemd services and scripts that need cleanup on exit.
2025-12-10 03:02:24 +01:00
..
listener.go feat(p2p): add --foreground flag to listen and forward commands 2025-12-10 03:02:24 +01:00
local.go feat(p2p): add --foreground flag to listen and forward commands 2025-12-10 03:02:24 +01:00
p2p.go chore: use go-log/v2 (#10801) 2025-05-19 13:04:05 -07:00
remote.go feat(p2p): add --foreground flag to listen and forward commands 2025-12-10 03:02:24 +01:00
stream.go style: gofumpt and godot [skip changelog] (#10081) 2023-08-17 14:02:08 +02:00