Mailing List Archive

don't daemonize option
I usually run services like varnishd under daemontools/supervise. I
realize that varnish already have an option for running a supervisor
process, but all the same I'd like to have an option to not daemonize
so I can run varnishd "my way". :-)


- ask

--
http://develooper.com/ - http://askask.com/
don't daemonize option [ In reply to ]
Indeed, this would be great :)

----- Original Message -----
From: "Ask Bj?rn Hansen" <ask@develooper.com>
To: <varnish-misc at projects.linpro.no>
Sent: Tuesday, May 08, 2007 12:14 AM
Subject: don't daemonize option


>
> I usually run services like varnishd under daemontools/supervise. I
> realize that varnish already have an option for running a supervisor
> process, but all the same I'd like to have an option to not daemonize so
> I can run varnishd "my way". :-)
>
>
> - ask
>
> --
> http://develooper.com/ - http://askask.com/
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at projects.linpro.no
> http://projects.linpro.no/mailman/listinfo/varnish-misc
>
don't daemonize option [ In reply to ]
In message <D4F0C23D-A50A-49D0-A169-593C53D2FFD3 at develooper.com>, =?ISO-8859-1?
Q?Ask_Bj=F8rn_Hansen?= writes:
>
>I usually run services like varnishd under daemontools/supervise. I
>realize that varnish already have an option for running a supervisor
>process, but all the same I'd like to have an option to not daemonize
>so I can run varnishd "my way". :-)

Well, -d (or -d -d) already does that, but we may make a more
dedicated version also, it has been talked about.

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
don't daemonize option [ In reply to ]
Ask Bj?rn Hansen <ask at develooper.com> writes:
> I usually run services like varnishd under daemontools/supervise. I
> realize that varnish already have an option for running a supervisor
> process, but all the same I'd like to have an option to not daemonize
> so I can run varnishd "my way". :-)

The supervisor process is not optional. It does more than just
supervise, it also handles the management interface, VCL compilation
etc.

DES
--
Dag-Erling Sm?rgrav
Senior Software Developer
Linpro AS - www.linpro.no
don't daemonize option [ In reply to ]
On May 7, 2007, at 11:42 PM, Poul-Henning Kamp wrote:

>> I usually run services like varnishd under daemontools/supervise. I
>> realize that varnish already have an option for running a supervisor
>> process, but all the same I'd like to have an option to not daemonize
>> so I can run varnishd "my way". :-)
>
> Well, -d (or -d -d) already does that,

I noticed, but I expected that to bring some debug overhead ...

> but we may make a more dedicated version also, it has been talked
> about.

Excellent - thanks. :-)


- ask

--
http://develooper.com/ - http://askask.com/