diff options
author | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-03-25 22:07:33 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-03-25 22:07:33 +0200 |
commit | 09115f9a97b820c69eb29d3621a4e65dac3dbfc5 (patch) | |
tree | 128d03d9c1e32c7a22ad8600a2659f2d02ac8be3 /initd/init.h | |
parent | 8fc5b24bdd4bed74035766497f57c66004ed6af2 (diff) |
Print status when starting a service marked as respawn
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'initd/init.h')
-rw-r--r-- | initd/init.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/initd/init.h b/initd/init.h index 826af0f..cbe22aa 100644 --- a/initd/init.h +++ b/initd/init.h @@ -29,6 +29,7 @@ enum { STATUS_OK = 0, STATUS_FAIL, STATUS_WAIT, + STATUS_STARTED, }; /********** runlst.c **********/ @@ -76,8 +77,8 @@ int setup_tty(void); /********** status.c **********/ /* - Print a status message. Type is either STATUS_OK, STATUS_FAIL or - STATUS_WAIT. + Print a status message. Type is either STATUS_OK, STATUS_FAIL, + STATUS_WAIT or STATUS_STARTED. A new-line is appended to the mssage, UNLESS type is STATUS_WAIT. |