commit | 0f849a4bdf2e42e24986f05b0a6c9f8060320c8a | [log] [tgz] |
---|---|---|
author | Seungjae Yoo <seungjaeyoo@google.com> | Mon Feb 10 16:21:33 2025 +0900 |
committer | Seungjae Yoo <seungjaeyoo@google.com> | Mon Feb 10 16:21:33 2025 +0900 |
tree | ca04c31ffb61d99974d1dd7e1d59e859782a93bb | |
parent | 20a297450dc2c49fc6c092c2b8e758d73cb665c5 [diff] |
Restart shutdown_runner in Linux VM on failure Bug: 395521180 Test: Run VmTerminalApp & sudo systemctl status at Linux VM Change-Id: I999d152a3bb336aa6ab1fc22a31318eaa1f5b510
diff --git a/guest/shutdown_runner/debian/service b/guest/shutdown_runner/debian/service index d19ff25..7188d36 100644 --- a/guest/shutdown_runner/debian/service +++ b/guest/shutdown_runner/debian/service
@@ -6,6 +6,8 @@ [Service] ExecStart=/usr/bin/bash -c '/usr/bin/shutdown_runner --grpc_port $(cat /mnt/internal/debian_service_port)' Type=simple +Restart=on-failure +RestartSec=1 User=root Group=root