-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
Am 09.02.2014 23:25, schrieb Olaf van der Spek:
>> /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?

I used the page at [1] to see why corosync throws an error again and
again. AFAIS the page refers to [2] where a return-code for a not
running programs is given as 3. So I guess the page [1] is correct,
isn’t it?

Sincerely,
DaB.


[1] http://linux-ha.org/wiki/LSB_Resource_Agents
[2]
http://refspecs.linux-foundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

- -- 
PGP: 0x2d3ee2d42b255885 – Mistrust unsigned mails!
Keyswitch to 0x7CD1E35FD2A3A158 in progress, details at
http://dabpunkt.eu/gnupg/keyswitch-0x2D3EE2D42B255885.txt.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iHEEARECADEFAlL4ApwqGidodHRwOi8vZGFicHVua3QuZXUvZ251LXBnL3BvbGlj
eS1BLmh0bWwnAAoJEC0+4tQrJViF1YUAn0C3lBdIRQpZyTCMChhPSnvUh1D3AKCl
csD0TU9K47WAxfjW73IzaTBLvg==
=JzC0
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to