I am using puphpet with ubuntu/nginx/hhvm.
Everything works well until I restart the virtual machine. After vagrant reload or halt/up I get a 502 error. I notice that after one of mentioned actions the port 9000 is not listed. I have to restart the hhvm service to get the port started.
How can i make this port (9000) to be listed at virtual machine start?
The HHVM getting started wiki page indicates the likely solution to this. (I think it's also printed on the console when you apt-get install hhvm
):
sudo update-rc.d hhvm defaults