[sr-dev] Patches to get proper status code in daemonize mode

Iñaki Baz Castillo ibc at aliax.net
Tue Apr 20 14:03:07 CEST 2010


2010/4/20 Olle E. Johansson <oej at edvina.net>:
> The preference should always be to have proper exit codes.
> I don't know how much sleeps the various distros allow you to implement
> in the rc scripts. Curious if there are guidelines for it.

Any init script should accomodate to LSB specificacions:
  http://refspecs.freestandards.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

This is true for Debian, RedHat or whatever *nix distro.



-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-dev mailing list