HTPARSER="$(which htparser || true)"
PIDFILE=/var/run/ashd.pid
PORTSPEC="plain"
-ROOTSPEC="patplex /usr/local/etc/ashd/rootpat"
+ROOTSPEC="dirplex /srv/www"
[ -r /etc/default/locale ] && . /etc/default/locale
[ -r /etc/default/ashd ] && . /etc/default/ashd
[ -x "$HTPARSER" ] || exit 0
start() {
export LANG
log_daemon_msg "Starting HTTP server" "ashd"
- ulimit -c unlimited
start-stop-daemon -S -p "$PIDFILE" -qx "$HTPARSER" -- -Sf -p "$PIDFILE" -u nobody -r /var/tmp $PORTSPEC -- $ROOTSPEC
log_end_msg $?
}