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 | b85bf1002dd702bfc2dd4907fe1b798f1cafb200 (patch) | |
tree | 8b12eb927eb0a7b5fc5e7d2a65991956113cafc4 /www-servers/varnish/files | |
parent | alpha stable wrt #177132 (diff) | |
download | historical-b85bf1002dd702bfc2dd4907fe1b798f1cafb200.tar.gz historical-b85bf1002dd702bfc2dd4907fe1b798f1cafb200.tar.bz2 historical-b85bf1002dd702bfc2dd4907fe1b798f1cafb200.zip |
fix startup script
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'www-servers/varnish/files')
-rwxr-xr-x | www-servers/varnish/files/varnishd.initd | 6 |
1 files changed, 3 insertions, 3 deletions
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 $? } |