How to enable varnish daemon in Cygwin

cygwinvarnish

I've installed the varnish packages (3.0.2-1 or 2.1.5-1) in cygwin (for local testing of VCL on Win7 64bit) and want to start varnish listening on port 80 but the varnishd isn't available:

$ varnishd -f /etc/varnish/default.vcl -s malloc,1G -T 127.0.0.1:2000 -a 0.0.0.0:80
-bash: varnishd: Command not found.

so i've installed initscripts and sysvinit packages and reinstalled varnish but still varnishd isn't available!

What additonal packages are necessary to get this running?

Best Answer

My suggestion in comment to use full path to the binary "/usr/sbin/varnishd" helped OP with the issue.