Oh, I see, the parameter is in "/etc/sysconfig/varnish". That configuration file is only read when Varnish is run as a system service, that's what makes the difference. Thank you.
Ivan On Sun, 20 Nov 2011 15:32:22 -0500, AD wrote: > is there a parameter VARNISH_LISTEN_PORT in your startup script ? This is in /etc/default/varnish on Ubunut, not sure what it would be on CentOS > > On Sun, Nov 20, 2011 at 1:05 PM, Ivan Martinez wrote: > >> Hello all, >> I just installed Varnish 3.0.2 in a CentOS 6 system. When I manually start Varnish as follows: >> >> [root@masterion init.d]# varnishd -f /etc/varnish/default.vcl >> >> Varnish is up and running in port 80. However, when I do it as a service: >> >> [root@masterion init.d]# pkill varnishd >> [root@masterion init.d]# /etc/init.d/varnish start >> Starting Varnish Cache: [ OK ] >> [root@masterion init.d]# /etc/init.d/varnish status >> varnishd (pid 10648) is running... >> [root@masterion init.d]# >> >> Apparently Varnish is running but there is nothing in port 80. What am I doing wrong?. >> Thank you, >> Ivan >> >> _______________________________________________ >> varnish-misc mailing list >> [email protected] [1] >> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc [2] Links: ------ [1] mailto:[email protected] [2] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc [3] mailto:[email protected]
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
