diff options
author | David Oberhollenzer <goliath@infraroot.at> | 2020-05-08 01:50:49 +0200 |
---|---|---|
committer | David Oberhollenzer <goliath@infraroot.at> | 2020-05-08 02:08:00 +0200 |
commit | 62133a68b7a1aecf65765f7137ef8d6e0eed913e (patch) | |
tree | f271dc8b24c4db4f7b054b633c4fa6f6e2157d5c /lib/include | |
parent | 13aa3840cc94ce37ef1e63c093c0f71ac84e90fd (diff) |
Cleanup: complete redesign of the initd supervisor
- Cleanly seperate service description parsed from file
from the actual run-time data.
- Remove the use of the signalfd and make asyncronous calls
into the supervisor from signal context work.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'lib/include')
-rw-r--r-- | lib/include/service.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/include/service.h b/lib/include/service.h index a01c6bb..0fbf018 100644 --- a/lib/include/service.h +++ b/lib/include/service.h @@ -40,7 +40,6 @@ enum { SVC_FLAG_TRUNCATE_OUT = 0x01, SVC_FLAG_HAS_EXEC = 0x10, - SVC_FLAG_ADMIN_STOPPED = 0x20, }; typedef struct service_t { @@ -53,7 +52,6 @@ typedef struct service_t { char *desc; /* description string */ char *ctty; /* controlling tty or log file */ int rspwn_limit; /* maximum respawn count */ - int rspwn_count; /* services respawn counter */ unsigned int flags; /* SVC_FLAG_* bit field */ /* linked list of command lines to execute */ @@ -65,10 +63,6 @@ typedef struct service_t { int num_before; int num_after; - pid_t pid; - int status; /* process exit status */ - int id; /* service ID used by initd */ - char name[]; /* canonical service name */ } service_t; |