pp3345/Pancake — pull request #6 by Marco01809 (2013-05-25 18:05:28+00:00)
Title: New init-script

- Use the log_* functions provided by /lib/lsb/init-functions (Allows message formatting by the system)
- Compliant with http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
- Use start-stop-daemon for get_status(), do_stop() and do_reload() (not needed for do_start())

Example output on Debian wheezy:
```bash
marco@debian~ $ sudo /etc/init.d/pancake start
[ ok ] Starting Pancake HTTP Server: pancake.
marco@debian~ $ sudo /etc/init.d/pancake status
[info] Pancake HTTP Server is running with PID 9094.
marco@debian~ $ sudo /etc/init.d/pancake reload
[ ok ] Reloading Pancake HTTP Server: pancake.
marco@debian~ $ sudo /etc/init.d/pancake stop
[ ok ] Stopping Pancake HTTP Server: pancake.
marco@debian~ $ sudo /etc/init.d/pancake status
[info] Pancake HTTP Server is not running.
marco@debian~ $ sudo /etc/init.d/pancake reload
[FAIL] Reloading Pancake HTTP Server: pancake failed!
```

Signed-off-by: Jan Erik Petersen Marco01_809@web.de