configpolicy/roles/nbd-server/files/nbd-server.socket

14 lines
312 B
INI

[Unit]
Description=Network Block Device Server socket
[Socket]
# NBD clients cannot handle their addresses changing, which happens
# frequently for IPv6. Only bind to the IPv4 socket to work around this.
ListenStream=0.0.0.0:10809
Accept=yes
KeepAlive=yes
KeepAliveTimeSec=5m
[Install]
WantedBy=sockets.target