summaryrefslogtreecommitdiffstats
path: root/main/mini_httpd/mini_httpd.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/mini_httpd/mini_httpd.initd')
-rw-r--r--main/mini_httpd/mini_httpd.initd4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/mini_httpd/mini_httpd.initd b/main/mini_httpd/mini_httpd.initd
index 4460a539..b55340ac 100644
--- a/main/mini_httpd/mini_httpd.initd
+++ b/main/mini_httpd/mini_httpd.initd
@@ -3,7 +3,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-servers/mini_httpd/files/mini_httpd.init,v 1.2 2007/08/26 21:20:21 bangert Exp $
-pidfile=/var/run/${SVCNAME}.pid
+pidfile=/var/run/mini_httpd/${SVCNAME}.pid
depend() {
need net
@@ -13,7 +13,7 @@ start() {
ebegin "Starting $SVCNAME"
start-stop-daemon --quiet --start --exec /usr/sbin/mini_httpd \
--pidfile $pidfile -- -i $pidfile \
- ${MINI_HTTPD_OPTS:--C /etc/${SVCNAME}.conf}
+ ${MINI_HTTPD_OPTS:--C /etc/${SVCNAME}.conf -l /var/log/mini_httpd/${SVCNAME}.log}
eend $?
}