void-packages/srcpkgs/darkhttpd/files/darkhttpd/run

5 lines
182 B
Bash
Executable File

#!/bin/sh
[ -r conf ] && . ./conf
: ${WWWDIR:=/srv/www/darkhttpd}
exec darkhttpd "${WWWDIR}" --chroot --uid _darkhttpd --gid _darkhttpd $OPTS 2>&1 >>/var/log/darkhttpd/darkhttpd.log