diff options
author | Umut Tezduyar Lindskog <umut.tezduyar@axis.com> | 2014-10-28 16:35:40 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-10-28 17:37:39 +0100 |
commit | db2cb23b5b179707000d28a11efb3d888d06ee80 (patch) | |
tree | d2ee7df6404f5bfaa43a3d0d050fe877866fdce2 /src/core/service.h | |
parent | f10af76de5e6589e35ed620c75f3f6eb02cdf345 (diff) |
core: send sigabrt on watchdog timeout to get the stacktrace
if sigabrt doesn't do the job, follow regular shutdown
routine, sigterm > sigkill.
Diffstat (limited to 'src/core/service.h')
-rw-r--r-- | src/core/service.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/service.h b/src/core/service.h index 0db0c4d64c..54fbe46fa4 100644 --- a/src/core/service.h +++ b/src/core/service.h @@ -39,6 +39,7 @@ typedef enum ServiceState { SERVICE_EXITED, /* Nothing is running anymore, but RemainAfterExit is true hence this is OK */ SERVICE_RELOAD, SERVICE_STOP, /* No STOP_PRE state, instead just register multiple STOP executables */ + SERVICE_STOP_SIGABRT, /* Watchdog timeout */ SERVICE_STOP_SIGTERM, SERVICE_STOP_SIGKILL, SERVICE_STOP_POST, |