mirror of
https://github.com/troglobit/finit.git
synced 2026-10-26 12:14:37 +00:00
Save process exit status to svc_t
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
225510a270
commit
c3eca9fe8f
4 files changed
+11
-6
No files matched your search
@@ -98,6 +98,7 @@ typedef struct svc {
|
||||
pid_t pid;
|
||||
char pidfile[256];
|
||||
long start_time; /* Start time, as seconds since boot, from sysinfo() */
|
||||
int status; /* From waitpid() when process is collected */
|
||||
const svc_state_t state; /* Paused, Reloading, Restart, Running, ... */
|
||||
svc_type_t type; /* Service, run, task, inetd, ... */
|
||||
int protect; /* Services like dbus-daemon & udev by Finit */
|
||||
|
||||
Reference in new issue
Block a user