File: mini-httpd

package info (click to toggle)
mini-httpd-run 1.0%2Bnmu1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 32 kB
  • sloc: sh: 7; makefile: 2
file content (9 lines) | stat: -rwxr-xr-x 177 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/bin/sh
exec 2>&1
# Change to suit your needs.
DATADIR=/var/www/html
exec /usr/sbin/mini_httpd -D -r \
	-h localhost				\
	-u nobody					\
	-l /dev/stdout				\
	-d "$DATADIR"