Files
linuxkit/alpine/packages/proxy/etc/init.d/proxy
Justin Cormack b1cbf3e96f move proxy 9p mounting into its own init file
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-07 10:31:08 +01:00

17 lines
252 B
Plaintext
Executable File

#!/sbin/openrc-run
depend()
{
before docker
}
start()
{
ebegin "Setting up proxy port mount"
mkdir -p /port
mount -t 9p -o trans=virtio,dfltuid=1001,dfltgid=50,version=9p2000 port /port
eend $? "Failed to mount proxy port filesystem"
}