]> err.no Git - varnish/commit
Further refine -n handling. The argument to -n is now either an absolute
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 26 Jun 2007 11:52:25 +0000 (11:52 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 26 Jun 2007 11:52:25 +0000 (11:52 +0000)
commitb66a271a7b4765288f6de80def741dbbe24f0e36
tree1b56f9e6508855264c5f4fda016dc46e2eb42736
parent6b881a6cc93f71d302da809a9c0f4b0d8c9e2672
Further refine -n handling.  The argument to -n is now either an absolute
path, or a path relative to $localstatedir/varnish.  By default, it is set
to the host name, which results in $localstatedir/varnish/$hostname.

This logic is centralized in instance.c, which is compiled into both
varnishd and libvarnishapi, with prototypes in varnishapi.h and heritage.h.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1581 d4fa192b-c00b-0410-8231-f00ffab90ce4
12 files changed:
varnish-cache/INSTALL
varnish-cache/bin/varnishd/Makefile.am
varnish-cache/bin/varnishd/heritage.h
varnish-cache/bin/varnishd/instance.c [new symlink]
varnish-cache/bin/varnishd/mgt_child.c
varnish-cache/bin/varnishd/varnishd.1
varnish-cache/bin/varnishd/varnishd.c
varnish-cache/configure.ac
varnish-cache/include/varnishapi.h
varnish-cache/lib/libvarnishapi/Makefile.am
varnish-cache/lib/libvarnishapi/instance.c [new file with mode: 0644]
varnish-cache/lib/libvarnishapi/shmlog.c