[pkg-lighttpd] Bug#738464: Bug#738464: lighttpd: Init script returns exit 4 for status when not running

Olaf van der Spek olafvdspek at gmail.com
Sun Feb 9 22:25:03 UTC 2014


On Sun, Feb 9, 2014 at 9:42 PM, Daniel 'DaB.' Baur
<debian at daniel.baur4.info> wrote:
> Version: 1.4.28-2+squeeze1.5

Time to upgrade? ;)

> /etc/init.d/lighttpd status returns a 4 if lighttpd is not
> running. This habbens because its pid-file can not be found. The
> return-code of 4 confuses the pacemaker/corosync here, so I had to patch
> the init-file localy to return a 3 if there is no pid-file. Maybe you could
> include it in a coming version.

Where are these return values documented?
Or, why is 3 right but 4 wrong?

Gr,

Olaf



More information about the pkg-lighttpd-maintainers mailing list