Skip to content

HHVM not running after reboot #498

@shaneholloman

Description

@shaneholloman

After rebooting HHVM was not running

I was watching server page requests in htop and noticed HHVM was not firing so I ran this command to force HHVM to start on reboot sudo update-rc.d hhvm defaults and rebooted, - all appears well.

Terminal feedback as follows:

root@fuega:~# sudo update-rc.d hhvm defaults
Adding system startup for /etc/init.d/hhvm ... 
    /etc/rc0.d/K20hhvm -> ../init.d/hhvm 
    /etc/rc1.d/K20hhvm -> ../init.d/hhvm 
    /etc/rc6.d/K20hhvm -> ../init.d/hhvm 
    /etc/rc2.d/S20hhvm -> ../init.d/hhvm 
    /etc/rc3.d/S20hhvm -> ../init.d/hhvm 
    /etc/rc4.d/S20hhvm -> ../init.d/hhvm 
    /etc/rc5.d/S20hhvm -> ../init.d/hhvm
root@fuega:~# reboot

I hope this correct. Or maybe this makes HHVM run for all sites if your server has more then one site but only configured HHVM for one in EE

Question: So a good question maybe is sudo update-rc.d hhvm defaults the correct command to use in conjunction with an EE configured server?

ref:

********************************************************************
* HHVM is installed. Here are some more things you might want to do:
* 
* Configure your webserver to use HHVM:
* $ sudo /usr/share/hhvm/install_fastcgi.sh
* $ sudo /etc/init.d/nginx restart
* $ sudo /etc/init.d/apache restart
* $ sudo /etc/init.d/hhvm restart
* 
* Start HHVM at boot:
* $ sudo update-rc.d hhvm defaults
* 
* Run command line scripts with HHVM:
* $ hhvm whatever.php
* 
* Use HHVM for /usr/bin/php even if you have php-cli installed:
* $ sudo /usr/bin/update-alternatives --install /usr/bin/php php /usr/bin/hhvm 60
********************************************************************

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions