Sysvinit Facts

See also: Sysvinit Operations.

sysvinit.InitdStatus

host.get_fact(InitdStatus)

Low level check for every /etc/init.d/* script. Unfortunately many of these mishehave and return exit status 0 while also displaying the help info/not offering status support.

Returns a dict of name -> status.

Expected codes found at:
http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html