I read the article and it looks very promising indeed. In the comments under the article I’m reading this though:
Quick question guys. I have EasyEngine but I LOVE the tutorial you
So I installed monit but it seems that EE is not using HHVM with sock,
but with the IP.
How can i configure monit to monitor HHVM ?
" if failed unixsocket /var/run/hhvm/hhvm.sock then restart"
And the reply:
There are two options, either configure HHVM to listen on the socket
or rewrite monit:
- HHVM way: edit /etc/hhvm/server.ini as per instructions above
- Monit way: edit hhvm monit config and put this line: “if failed host localhost port 9000 then restart” (change port number to one HHVM
So my question is, can I follow his tutorial, or do I have to mod it somehow? Would appreciate all words of advice you might have.