How to run Varnish as Windows Service

jdzstz - gmail dot com jdzstz at
Sat Oct 8 13:30:43 CEST 2011

Hello Thiện,

If you have installed varnish in a full cygwin environment with varnish (

you can use "cygrunsrv" util to configure it:

   - [in spanish]

If you have installed the varnish ZIP bundle (that includes Varnish
binaries, GCC compiler, Cygwin, PDCurses and PCRE DLLs) you have to use the
wrapper software solution like runasservice, srvany or instsrv:


Another advice is to check windows event viewer, at administrative tools or
executing: eventvwr.msc  (cygwin programs logs some errors into this event



2011/10/5 Thiện Trần Phước <tphuocthien at>

> Hi everybody,
> I uses Varnish Web Cache in Windows Server 2008. Could anybody tell me: how
> to run Varnish as Windows Service ?
> Because this is a server,it should run automatically when Windows is
> startup.
> I research multi way to do. Download some wrapper software and intergate
> Varnish into them. But not success.
> Thanks a lot,
> Denny Jimmy
> _______________________________________________
> varnish-dist mailing list
> varnish-dist at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-dist mailing list