Plan 9 from Bell Labs’s /usr/web/sources/contrib/someone/root/rc/bin/starthttpd

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/rc
# starthttpd - start inside http service
rfork es		# no n: we want namespace additions to be visible

# world wide weenie
9fs audio
9fs cm
9fs sources
9fs emelie			# not sure what uses this; chess end-games?

# Kill httpd|rc

@ {
	cd /sys/log/httpd
	chmod -a clf
	>clf
	chmod +a clf
}

rfork n
exec ip/httpd/httpd -dcollyer.net -n/lib/namespace.httpd

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.