diff options
author | David Oberhollenzer <goliath@infraroot.at> | 2020-05-14 16:20:27 +0200 |
---|---|---|
committer | David Oberhollenzer <goliath@infraroot.at> | 2020-05-14 16:20:27 +0200 |
commit | 79bb09eac54d91bf76268baa50ecebea1ab19708 (patch) | |
tree | 6d9c6e6b74d727bafa482d670ecaa9c310d29aba /initd/init.h | |
parent | 16b22a831c490b8dd1b5f81a4955e6f13f22705d (diff) |
Revert handling of wait type service to using state
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'initd/init.h')
-rw-r--r-- | initd/init.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/initd/init.h b/initd/init.h index 1a9f35a..61101c7 100644 --- a/initd/init.h +++ b/initd/init.h @@ -61,6 +61,12 @@ void config_set_target(int tgt); /* Ask whether we should respawn services in the current target */ bool config_should_respawn(void); +/* refuse to dequeue further services until this one terminates */ +void config_set_waiting(svc_run_data_t *rt); + +/* are we currently waiting for a service to terminate? */ +bool config_is_waiting(void); + /********** print_status.c **********/ void print_status(const svc_run_data_t *rt); |