so, in ltsp we use a script called nbdswapd which is run from
openbsd-inetd, with an /etc/inetd.conf entry like so:

 9572 stream  tcp     nowait  nobody /usr/sbin/tcpd /usr/sbin/nbdswapd

nbdswapd is a simple script that dynamically creates a file and removes
it after the script finishes, but calls nbd-server like so:

 /bin/nbd-server 0 $FILE

keepalive doesn't happen unless i also add to /etc/hosts.allow:

 nbdswapd: ALL: keepalive

not sure if you run the nbd-server as a standalone daemon if the
keepalive would kick in on it's own...

live well,
  vagrant


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to