From: phk Date: Wed, 1 Oct 2008 08:27:59 +0000 (+0000) Subject: Add a pidfile for varnishd X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0122eaa03c53527f8361ba2ec0124dbf8661bfa9;p=varnish Add a pidfile for varnishd git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3242 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- 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));