From 09115f9a97b820c69eb29d3621a4e65dac3dbfc5 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 25 Mar 2018 22:07:33 +0200 Subject: Print status when starting a service marked as respawn Signed-off-by: David Oberhollenzer --- initd/init.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'initd/init.h') 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. -- cgit v1.2.3