Skip to content
Snippets Groups Projects
Commit 7d571f0d authored by Till Brehm's avatar Till Brehm
Browse files

Improved permission settings for the /var/run/hhvm directory. Run Tools >...

Improved permission settings for the /var/run/hhvm directory. Run Tools > Resync to force an update of existing HHVM starter scripts to apply this fix if you currently use HHVM.
parent eed1b499
No related branches found
No related tags found
No related merge requests found
......@@ -17,9 +17,9 @@ NAME=hhvm
do_start()
{
if [ ! -d /var/run/hhvm ]; then
mkdir -p -m0777 /var/run/hhvm
mkdir -p -m1777 /var/run/hhvm
else
chmod 777 /var/run/hhvm
chmod 1777 /var/run/hhvm
fi
if [[ -e "/var/run/hhvm/hhvm_{SYSTEM_USER}.pid" ]] ; then
......@@ -35,7 +35,7 @@ do_start()
ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock ;
fi
umask 022
umask 027
sudo -u {SYSTEM_USER} touch /var/run/hhvm/hhvm_{SYSTEM_USER}.pid
BASEINIFILE=""
......
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