http://www.akamaras.com/linux/linux-script-to-check-if-a-service-is-running-and-start-it-if-its-stopped/
Anonymous
Don't force yourself or others to reimplement functionality.