hhvm/packaging — pull request #4 by dol (2013-12-24 13:51:14+00:00)
Title: Feature: Improved initd script for FastCGI

Improved init.d script for FastCGI

The new init.d script is now LSB ( http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptfunc.html ) compatible.

What's new:
- LSB format with run level informations
- Ability to start/stop hhvm-fastcgi service and get status of process
- Ability to overwrite start up configurations like:
-- Listen port
-- Path to config file
-- Path to pid file
-- User to run serive as
-- Additional arguments

Note: Due a bug in the hhvm core (I will open a issue soon) the PID file will not always been written.
It also looks like that the kill signal ('SIGTERM') is not handle correctly by the daemon. I will also open an issue or PR for this issue.