/etc/init.d/xvfb from https://gist.github.com/dmitriy-kiriyenko/974392

For NON DebUbuntu: "Thanks for sharing this - it was a good start in the right direction for me. I noticed that start-stop-daemon appears to be Debian-specific. I modified it to simply execute $XVFB in the background with '&', capture the pid with $!, and echo'ed it to $PIDFILE, then used killproc -p $PIDFILE $XVFB in the stop handler and it is working for me under CentOS that way. If anybody cares to try that, make sure to import /etc/init.d/functions with the '.' at the beginning to get the killproc function."