
jdzstz at gmail
Oct 8, 2011, 4:30 AM
Post #2 of 2
(695 views)
Permalink
|
|
Re: How to run Varnish as Windows Service
[In reply to]
|
|
Hello Thiện, If you have installed varnish in a full cygwin environment with varnish ( https://www.varnish-cache.org/trac/wiki/VarnishOnCygwinWindows#InstallFullCygwinenvironmentwithvarnishpackage) you can use "cygrunsrv" util to configure it: - http://web.mit.edu/cygwin/cygwin_v1.3.2/usr/doc/Cygwin/cygrunsrv.README - http://cygwin.wikia.com/wiki/Cygrunsrv - [in spanish] http://www.vicente-navarro.com/blog/2007/07/20/servicios-en-cygwin-syslogd-sshd-telnetd-ftpd-nfsd-etc/ 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: - http://stackoverflow.com/questions/415409/run-batch-file-as-a-windows-service - http://www.techtalkz.com/windows-server-2003/41044-run-bat-file-service-windows-2003-xp.html Another advice is to check windows event viewer, at administrative tools or executing: eventvwr.msc (cygwin programs logs some errors into this event viewer) Regards, Jorge 2011/10/5 Thiện Trần Phước <tphuocthien [at] gmail> > 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] varnish-cache > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dist >
|