X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=etc%2Fdebian%2Finit.d-ashd;h=9fd1e4287c89d03a469eac07f9d80402f19ebf60;hb=51841ac99ef03b8019aeb42c64b3496475a1ee8e;hp=64a6efba77f6b2eacc2aeedecb110a6e0b7b2108;hpb=9f61b28adfedcfd696b17485b2f873ae69b76196;p=ashd.git diff --git a/etc/debian/init.d-ashd b/etc/debian/init.d-ashd index 64a6efb..9fd1e42 100755 --- a/etc/debian/init.d-ashd +++ b/etc/debian/init.d-ashd @@ -16,7 +16,7 @@ PATH=/usr/local/bin:/usr/local/sbin:$PATH 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 @@ -24,7 +24,6 @@ ROOTSPEC="patplex /usr/local/etc/ashd/rootpat" 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 $? }