Change shutdown timeout to 9 seconds

The systemd version in debian stretch appears to have a bug where it
doesn't exit even after being sent a signal to shut down the container.
As a result, lxd waits for the full default timeout before force killing
every process left.

We can't do much about systemd but we can improve things somewhat by
lowering lxd's timeout to 9 seconds.  maitred's shut down timeout is 10
seconds so making lxd's timeout 9 seconds ensures that it will exit in
time.

BUG=chromium:906804
TEST=concierge_client --stop_all

Change-Id: I1eaf5cadb91ae83e506ba5765a10e8d82d2be101
Signed-off-by: Chirantan Ekbote <chirantan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1357249
Reviewed-by: Stephen Barber <smbarber@chromium.org>
1 file changed
tree: cc7aee5b6a75be7c62d17ad2369568a75354cf10
  1. src/
  2. README.md
README.md

Tremplin

Tremplin is the “springboard” daemon that runs in the Termina VM and exposes a gRPC interface for managing LXD containers.