Redo the -n argument code, it had too many problems:
We need to process -P and -f arguments before we change directory. (ticket 120) (XXX: what about storage and hash arguments ??) The daemon(3) call should not change our directory subsequently. (ticket 121) There is no need to enforce a hostname style format on the argument, a directory nam makes much more sense, since that is what we need. Defaulting to /tmp instead of our hostname makes more sense (ticket 119). This also allows the admin to use a different directory if /tmp is mounted noexec (ticket 111) Put the directoryname used in the proctitle (via heritage) XXX: for docs: vcl.load CLI commands will work relative to the -n directory. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1572 d4fa192b-c00b-0410-8231-f00ffab90ce4
Showing
Please register or sign in to comment