Welcome to little lamb

Code » anopa » commit 35f2755

stage3: Set default/max timeout to 20s

author Olivier Brunel
2017-01-27 18:54:55 UTC
committer Olivier Brunel
2017-06-18 12:30:11 UTC
parent 0f16edf69fc342afc8e6af639e981e6e236d0fa0

stage3: Set default/max timeout to 20s

src/scripts/aa-stage3 +1 -1

diff --git a/src/scripts/aa-stage3 b/src/scripts/aa-stage3
index f7f1a7a..405bf52 100755
--- a/src/scripts/aa-stage3
+++ b/src/scripts/aa-stage3
@@ -44,7 +44,7 @@ foreground { aa-echo -DB "Stage 3: Preparing ${1}..." }
 # Stop all running services -- s6-svscan did only exec into us, leaving the
 # whole supervised tree intact. Here we stop everything (longrun & oneshot) in
 # order, save for the catch-all (it will get an 'x' though).
-foreground { emptyenv -c s6-setsid aa-ctty -Ds aa-stop -D -aak uncaught-logs }
+foreground { emptyenv -c s6-setsid aa-ctty -Ds aa-stop -D -aak uncaught-logs -t20 }
 # Now stop the catch-all logger (its supervisor will then exit)
 foreground { emptyenv -c s6-setsid aa-stop -D uncaught-logs }