• Michael Hanselmann's avatar
    ganeti.initd: Add “status” action · 8e2ed2e8
    Michael Hanselmann authored
    Eric Rostetter sent a patch adding a “status” action, but unfortunately
    his code was apparently specific to Red Hat. I hope this implementation
    is more distribution-agnostic; after all “status_of_proc” is part of
    LSB. Example output:
    
    $ /etc/init.d/ganeti status
    ganeti-noded is not running ... failed!
    ganeti-masterd is running.
    ganeti-rapi is running.
    ganeti-confd is running.
    Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
    Reviewed-by: default avatarIustin Pop <iustin@google.com>
    8e2ed2e8
daemon-util.in 5.44 KB