From 57fa781188eeab3f958f3c5cedab2bebc60f388e Mon Sep 17 00:00:00 2001 From: Jacob Moody Date: Sat, 28 May 2022 02:34:43 +0000 Subject: aux/listen: Allow per service namespace files --- rc/bin/service/!tcp80.namespace | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 rc/bin/service/!tcp80.namespace (limited to 'rc') diff --git a/rc/bin/service/!tcp80.namespace b/rc/bin/service/!tcp80.namespace new file mode 100644 index 000000000..bb2f629df --- /dev/null +++ b/rc/bin/service/!tcp80.namespace @@ -0,0 +1,24 @@ +mount -aC #s/boot /root $rootspec + +# kernel devices +bind #c /dev +bind #d /fd +bind -c #e /env +bind #p /proc +bind -a #l /net +bind -a #I /net + +bind /root/$cputype/bin /bin +bind /root/rc /rc +bind -a /rc/bin /bin + +chdev Mcde|pslI/ + +# grab just our webroot +bind /root/usr/web /srv + +# or bind in the actual root +# bind -a /root / + +unmount /root +chdev -r Ms -- cgit v1.2.3