/etc/init/hhvm.conf is in hhvm 3.11.1+dfsg-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # hhvm - The HHVM PHP/Hack runtime
description "HHVM PHP/Hack runtime"
start on runlevel [2345]
stop on runlevel [016]
respawn
script
# Default values. This values can be overwritten in '/etc/default/hhvm'
CONFIG_FILE="/etc/hhvm/server.ini"
SYSTEM_CONFIG_FILE="/etc/hhvm/php.ini"
RUN_AS_USER="www-data"
ADDITIONAL_ARGS=""
# Read configuration variable file if it is present
[ -r /etc/default/hhvm ] && . /etc/default/hhvm
/usr/bin/hhvm -m server --config ${SYSTEM_CONFIG_FILE} \
--config ${CONFIG_FILE} \
--v PidFile="" \
--mode server \
--user $RUN_AS_USER $ADDITIONAL_ARGS
end script
|