summaryrefslogtreecommitdiffstats
path: root/main/mini_httpd/mini_httpd.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-03 17:30:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-03 17:31:40 +0000
commit5e9ddf38f85f18bb4cf62baf88a61af88fd8489b (patch)
tree14bbe9149b420939be172ce54f1800847fb78d29 /main/mini_httpd/mini_httpd.initd
parentd28f3110fd6a9ce353e4921b2d8dc4107cba095a (diff)
downloadaports-5e9ddf38f85f18bb4cf62baf88a61af88fd8489b.tar.bz2
aports-5e9ddf38f85f18bb4cf62baf88a61af88fd8489b.tar.xz
main/mini_httpd: added logrotate script
moved default logfile and pid fiels to /var/{run,log}/mini_httpd/ fixes #80
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 $?
}