diff options
author | Thilo Bangert <bangert@gentoo.org> | 2007-05-19 12:00:41 +0000 |
---|---|---|
committer | Thilo Bangert <bangert@gentoo.org> | 2007-05-19 12:00:41 +0000 |
commit | 144f030a9a4935a055197f9568ea8fba12cf486a (patch) | |
tree | be420e8b832139838405c528a6307647eaf893ce /www-servers | |
parent | alpha stable wrt #177132 (diff) | |
download | gentoo-2-144f030a9a4935a055197f9568ea8fba12cf486a.tar.gz gentoo-2-144f030a9a4935a055197f9568ea8fba12cf486a.tar.bz2 gentoo-2-144f030a9a4935a055197f9568ea8fba12cf486a.zip |
fix startup script
(Portage version: 2.1.2.7)
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/varnish/ChangeLog | 5 | ||||
-rwxr-xr-x | www-servers/varnish/files/varnishd.initd | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/www-servers/varnish/ChangeLog b/www-servers/varnish/ChangeLog index f8e80adc110b..bb1efe696d23 100644 --- a/www-servers/varnish/ChangeLog +++ b/www-servers/varnish/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for www-servers/varnish # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/ChangeLog,v 1.6 2007/03/02 19:39:04 bangert Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/ChangeLog,v 1.7 2007/05/19 12:00:41 bangert Exp $ + + 19 May 2007; Thilo Bangert <bangert@gentoo.org> files/varnishd.initd: + fix stop in init script 02 Mar 2007; Thilo Bangert <bangert@gentoo.org> files/varnishd.initd: fix path to varnishd (moved to sbin) diff --git a/www-servers/varnish/files/varnishd.initd b/www-servers/varnish/files/varnishd.initd index b9d06c8306d1..0bcbbb26dcb4 100755 --- a/www-servers/varnish/files/varnishd.initd +++ b/www-servers/varnish/files/varnishd.initd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/files/varnishd.initd,v 1.2 2007/03/02 19:39:04 bangert Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/files/varnishd.initd,v 1.3 2007/05/19 12:00:41 bangert Exp $ depend() { need net @@ -9,12 +9,12 @@ depend() { start() { ebegin "Starting varnish" - start-stop-daemon --quiet --start --pidfile /var/run/varnishd.pid --exec /usr/sbin/varnishd -- ${VARNISHD_OPTS} + start-stop-daemon --quiet --start --exec /usr/sbin/varnishd -- ${VARNISHD_OPTS} &> /dev/null eend $? } stop() { ebegin "Stopping varnish" - start-stop-daemon --quiet --stop --pidfile /var/run/varnishd.pid + start-stop-daemon --quiet --stop --name varnishd eend $? } |