Created
August 22, 2014 06:06
-
-
Save husseycoding/04bf12a107458db2b38b to your computer and use it in GitHub Desktop.
HHVM 3.2 upstart script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description "HHVM auto start and respawn" | |
author "Jonathan Hussey <[email protected]>" | |
start on runlevel [2345] | |
stop on runlevel [016] | |
respawn | |
exec /usr/bin/hhvm --config /etc/hhvm/php.ini --config /etc/hhvm/server.ini --user www-data --mode daemon -vPidFile=/var/run/hhvm/pid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; php options | |
pid = /var/run/hhvm/pid | |
; hhvm specific | |
hhvm.server.port = 9000 | |
hhvm.server.type = fastcgi | |
hhvm.server.default_document = index.php | |
hhvm.log.use_log_file = true | |
hhvm.log.file = /var/log/hhvm/error.log | |
hhvm.repo.central.path = /var/run/hhvm/hhvm.hhbc | |
hhvm.server.fix_path_info = true | |
hhvm.log.header = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment