Hi all,
I have been a silent reader for almost 2 years, I've got a lot of knowledge of FreeBSD by reading in this Forum. Thank You, all!
I have a problem that really make me stupid and embarrassed.
I have installed latest Nginx 1.8.0_3,2 and Varnish 4.0.3_7 as a HTTP Accelerator. And for log report, I have activated varnishncsa just because it has simple to read than varnishlog.
Here is my /etc/rc.conf
Then it comes a problem, I have to manually starting varnishncsa by executing
There is something I could not figure out, why varnishncsa did not start according to my rc.conf.
Regards - Ary FR
I have been a silent reader for almost 2 years, I've got a lot of knowledge of FreeBSD by reading in this Forum. Thank You, all!
I have a problem that really make me stupid and embarrassed.
I have installed latest Nginx 1.8.0_3,2 and Varnish 4.0.3_7 as a HTTP Accelerator. And for log report, I have activated varnishncsa just because it has simple to read than varnishlog.
Here is my /etc/rc.conf
Code:
varnishncsa_enable="YES"
varnishncsa_pidfile="/var/run/varnishncsa.pid"
varnishncsa_file="/var/log/varnishncsa.log"
Then it comes a problem, I have to manually starting varnishncsa by executing
service varnishncsa restart or /usr/local/etc/rc.d/varnishncsa start every time I reboot or starting up my server.There is something I could not figure out, why varnishncsa did not start according to my rc.conf.
Code:
root@cloud:~ # freebsd-version
10.2-RELEASE-p2