]> err.no Git - varnish/commitdiff
Add a pidfile for varnishd
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 1 Oct 2008 08:27:59 +0000 (08:27 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 1 Oct 2008 08:27:59 +0000 (08:27 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3242 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishtest/vtc_varnish.c

index 6c6f1be170720450c35222372ec1ecb49fc840bd..d2266146b6ff0a70a4f56343931c7d401abb10d9 100644 (file)
@@ -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));