shithub: gridchat

ref: 6e888a6b82b18cfcbcd80e5bde6edd29fd083231
dir: /newsrv/

View raw version
#!/bin/rc -x

rfork ens

<[3]/srv/clone{
	id=`{<[0=3]read}
	<[3=]@{ # close the clone fd
		rfork n
		bind -c /srv/$id /srv
		rc -c $*
	}
}