Skip to content
Snippets Groups Projects
Commit d71067d6 authored by Marius Cramer's avatar Marius Cramer
Browse files

- HHVM config to 3.8.0

parent 1e8c9b3c
No related branches found
No related tags found
No related merge requests found
...@@ -31,6 +31,10 @@ do_start() ...@@ -31,6 +31,10 @@ do_start()
esac esac
fi fi
if [[ -S /var/run/mysqld/mysqld.sock && ! -S /tmp/mysql.sock ]] ; then
ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock ;
fi
umask 017 umask 017
sudo -u {SYSTEM_USER} touch /var/run/hhvm/hhvm_{SYSTEM_USER}.pid sudo -u {SYSTEM_USER} touch /var/run/hhvm/hhvm_{SYSTEM_USER}.pid
INIFILE="" INIFILE=""
...@@ -41,7 +45,7 @@ do_start() ...@@ -41,7 +45,7 @@ do_start()
elif [[ -e "/etc/php5/cgi/php.ini" ]] ; then elif [[ -e "/etc/php5/cgi/php.ini" ]] ; then
INIFILE="-vServer.IniFile=/etc/php5/cgi/php.ini" ; INIFILE="-vServer.IniFile=/etc/php5/cgi/php.ini" ;
fi fi
/usr/bin/hhvm --mode daemon -vServer.Type=fastcgi --user {SYSTEM_USER} -vServer.FileSocket=/var/run/hhvm/hhvm.{SYSTEM_USER}.sock -vLog.Level=Warning -vLog.UseLogFile=false -vRepo.Central.Path=/var/run/hhvm/hhvm.{SYSTEM_USER}.hhbc -vServer.FixPathInfo=true $INIFILE -vPidFile=/var/run/hhvm/hhvm_{SYSTEM_USER}.pid & echo $! > /var/run/hhvm/hhvm_{SYSTEM_USER}.pid /usr/bin/hhvm --mode daemon -vServer.Type=fastcgi --user {SYSTEM_USER} -vServer.FileSocket=/var/run/hhvm/hhvm.{SYSTEM_USER}.sock -vLog.Level=Warning -vLog.UseLogFile=false -vRepo.Central.Path=/var/run/hhvm/hhvm.{SYSTEM_USER}.hhbc -vServer.FixPathInfo=false $INIFILE -vPidFile=/var/run/hhvm/hhvm_{SYSTEM_USER}.pid & echo $! > /var/run/hhvm/hhvm_{SYSTEM_USER}.pid
} }
do_stop() do_stop()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment