Commit cdb2c68b authored by Marius Cramer's avatar Marius Cramer

- fixed unlinking of hhvm init script

parent 9b0ee8d9
......@@ -2778,7 +2778,7 @@ class apache2_plugin {
} elseif($data['new']['php'] != 'hhvm' && $data['old']['php'] == 'hhvm') {
exec('/etc/init.d/hhvm_' . $data['old']['system_user'] . ' stop >/dev/null 2>&1');
exec('/usr/sbin/update-rc.d hhvm_' . $data['old']['system_user'] . ' remove >/dev/null 2>&1');
unlink('/etc/init.d/hhvm_' . $data['old']['system_user'] . ' >/dev/null 2>&1');
unlink('/etc/init.d/hhvm_' . $data['old']['system_user']);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment