From 0122eaa03c53527f8361ba2ec0124dbf8661bfa9 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 1 Oct 2008 08:27:59 +0000 Subject: [PATCH] Add a pidfile for varnishd git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3242 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishtest/vtc_varnish.c | 1 + 1 file changed, 1 insertion(+) diff --git a/varnish-cache/bin/varnishtest/vtc_varnish.c b/varnish-cache/bin/varnishtest/vtc_varnish.c index 6c6f1be1..d2266146 100644 --- a/varnish-cache/bin/varnishtest/vtc_varnish.c +++ b/varnish-cache/bin/varnishtest/vtc_varnish.c @@ -193,6 +193,7 @@ varnish_launch(struct varnish *v) vsb_printf(vsb, "cd ../varnishd &&"); vsb_printf(vsb, " ./varnishd -d -d -n /tmp/__%s", v->name); vsb_printf(vsb, " -a '%s' -T %s", v->accept, v->telnet); + vsb_printf(vsb, " -P /tmp/__%s/varnishd.pid", v->name); vsb_printf(vsb, " %s", v->args); vsb_finish(vsb); AZ(vsb_overflowed(vsb)); -- 2.39.5