From af6da548aa14c57da7f17b3a1f2211efdb811d19 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 26 Jun 2012 12:16:18 +0200 Subject: 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. --- src/shared/def.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/shared/def.h') 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) -- cgit v1.2.1