diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-06-26 12:16:18 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-06-26 12:21:43 +0200 |
commit | af6da548aa14c57da7f17b3a1f2211efdb811d19 (patch) | |
tree | e118258cb9795ee0b80b656c9aca121cf7bc8b3e /src/shared/def.h | |
parent | 0c7f15b3a95c3596a4756de5c44eb1fdcd0034fc (diff) |
core: make systemd.confirm_spawn=1 actually work
This adds a timeout if the TTY cannot be acquired and makes sure we
always output the question to the console, never to the TTY of the
respective service.
Diffstat (limited to 'src/shared/def.h')
-rw-r--r-- | src/shared/def.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/def.h b/src/shared/def.h index be969fca2e..d021e66021 100644 --- a/src/shared/def.h +++ b/src/shared/def.h @@ -26,6 +26,7 @@ #define DEFAULT_TIMEOUT_USEC (90*USEC_PER_SEC) #define DEFAULT_RESTART_USEC (100*USEC_PER_MSEC) +#define DEFAULT_CONFIRM_USEC (30*USEC_PER_SEC) #define DEFAULT_EXIT_USEC (5*USEC_PER_MINUTE) |