projects
/
oweals
/
procd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
procd: show process's exit code
[oweals/procd.git]
/
service
/
instance.h
diff --git
a/service/instance.h
b/service/instance.h
index e53c6069a3ab434915ca9eecb2e2eed7c106749c..7d91b51a34082a04d0d59afb0c615a780ea707f4 100644
(file)
--- a/
service/instance.h
+++ b/
service/instance.h
@@
-21,6
+21,7
@@
#include "../utils/utils.h"
#define RESPAWN_ERROR (5 * 60)
+#define SIGNALLED_OFFSET 128
struct jail {
bool procfs;
@@
-63,6
+64,7
@@
struct service_instance {
char *seccomp;
char *pidfile;
int syslog_facility;
+ int exit_code;
uint32_t term_timeout;
uint32_t respawn_timeout;