aboutsummaryrefslogtreecommitdiff
path: root/development/hhvm/etc
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2017-11-23 08:27:27 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-11-25 06:06:42 +0700
commitcf5330655a6f6127dd8322770031fe054058aa5a (patch)
treeee818e90a48285bdcd6e1c47b7cbf1a1c7d6b9a9 /development/hhvm/etc
parent8c158f101c2e31d77febce1df60f048fc4f88923 (diff)
development/hhvm: Updated for version 3.23.2
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/hhvm/etc')
-rw-r--r--development/hhvm/etc/rc.hhvm4
1 files changed, 2 insertions, 2 deletions
diff --git a/development/hhvm/etc/rc.hhvm b/development/hhvm/etc/rc.hhvm
index 168fe15a7749..33ab15a7770f 100644
--- a/development/hhvm/etc/rc.hhvm
+++ b/development/hhvm/etc/rc.hhvm
@@ -9,7 +9,6 @@
# Description: Starts the HHVM daemon
### END INIT INFO
-DAEMON=/usr/bin/hhvm
PIDFILE=/var/run/hhvm/pid
hhvm_SOCKET=/var/run/hhvm/sock
hhvm_GROUP=${hhvm_GROUP:-apache}
@@ -18,6 +17,7 @@ SYSTEM_CONFIG_FILE="/etc/hhvm/php.ini"
DAEMON_ARGS="--config ${SYSTEM_CONFIG_FILE} \
--config ${CONFIG_FILE} \
+ --user ${hhvm_GROUP} \
-vPidFile=${PIDFILE}"
do_stop () {
@@ -82,7 +82,7 @@ case "$1" in
fi
echo
- $DAEMON --mode daemon $DAEMON_ARGS
+ /usr/bin/hhvm --mode daemon $DAEMON_ARGS
if [ "$?" != 0 ]
then
echo "Failed"