summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2013-02-06 19:36:52 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2013-02-06 19:36:52 +0000
commitedea8c46de535d087e2039399ce1db683af1a827 (patch)
tree88acb8fcacee5a7db035bb729f431011352a9543 /www-servers/lighttpd/files
parentFix building problem with the japanese manpage wrt #455374 by Sebastian Pipping (diff)
downloadhistorical-edea8c46de535d087e2039399ce1db683af1a827.tar.gz
historical-edea8c46de535d087e2039399ce1db683af1a827.tar.bz2
historical-edea8c46de535d087e2039399ce1db683af1a827.zip
Move lighttpd.pid from /var/run -> /run
Package-Manager: portage-2.1.11.50/cvs/Linux x86_64 Manifest-Sign-Key: 0xB4AFF2C2
Diffstat (limited to 'www-servers/lighttpd/files')
-rw-r--r--www-servers/lighttpd/files/lighttpd.initd8
1 files changed, 4 insertions, 4 deletions
diff --git a/www-servers/lighttpd/files/lighttpd.initd b/www-servers/lighttpd/files/lighttpd.initd
index 8ae6602f092c..43626c026ba2 100644
--- a/www-servers/lighttpd/files/lighttpd.initd
+++ b/www-servers/lighttpd/files/lighttpd.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/lighttpd.initd,v 1.21 2012/01/08 20:45:46 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/lighttpd.initd,v 1.22 2013/02/06 19:36:51 hwoarang Exp $
extra_started_commands="reload graceful"
@@ -21,14 +21,14 @@ checkconfig() {
if [ -z "${LIGHTTPD_PID}" ] ; then
ewarn "server.pid-file variable in ${LIGHTTPD_CONF}"
ewarn "is not set. Falling back to lighttpd.pid"
- LIGHTTPD_PID="/var/run/lighttpd.pid"
+ LIGHTTPD_PID="/run/lighttpd.pid"
fi
/usr/sbin/lighttpd -t -f ${LIGHTTPD_CONF} >/dev/null
}
start() {
checkconfig || return 1
- checkpath -d -q -m 0750 -o lighttpd:lighttpd /var/run/lighttpd/
+ checkpath -d -q -m 0750 -o lighttpd:lighttpd /run/lighttpd/
ebegin "Starting lighttpd"
start-stop-daemon --start --quiet --exec /usr/sbin/lighttpd \