From: phk Date: Tue, 11 Jul 2006 16:31:05 +0000 (+0000) Subject: Start the cache process automatically, I've gotten tired of typing "start" :-) X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bae2500b0e6cb7a611fb83a0daeca63f3046c0c7;p=varnish Start the cache process automatically, I've gotten tired of typing "start" :-) git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@434 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/varnishd.c b/varnish-cache/bin/varnishd/varnishd.c index 800f0234..a595d78a 100644 --- a/varnish-cache/bin/varnishd/varnishd.c +++ b/varnish-cache/bin/varnishd/varnishd.c @@ -326,6 +326,8 @@ testme(void) event_base_set(mgt_eb, &e_sigchld); signal_add(&e_sigchld, NULL); + mgt_child_start(); + i = event_base_loop(mgt_eb, 0); if (i != 0) printf("event_dispatch() = %d\n", i);