aux/listen: Allow per service namespace files
This commit is contained in:
parent
9fe925eaa5
commit
674fcda107
3 changed files with 45 additions and 7 deletions
24
rc/bin/service/!tcp80.namespace
Normal file
24
rc/bin/service/!tcp80.namespace
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue