• Poul-Henning Kamp's avatar
    Redo the -n argument code, it had too many problems: · 2519dcc2
    Poul-Henning Kamp authored
     
    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
    2519dcc2
Name
Last commit
Last update
..
varnishadm Loading commit data...
varnishd Loading commit data...
varnishhist Loading commit data...
varnishlog Loading commit data...
varnishncsa Loading commit data...
varnishstat Loading commit data...
varnishtop Loading commit data...
Makefile.am Loading commit data...