summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-12-23 09:26:32 +0200
committerLars Wirzenius <liw@liw.fi>2023-12-23 09:31:27 +0200
commita79a0d6cb1e1249d77859ab65fe14123bf326780 (patch)
treec588226c4f95b86986efc1e21b0e24d45729b531
parent5244cbfe8e84beaa253bdf2c04cf7495d7e7cd1f (diff)
downloadambient-build-vm-a79a0d6cb1e1249d77859ab65fe14123bf326780.tar.gz
fix: don't fail the ambient.service unit if ambient-boot fails
We need to always, always, make the VM shut down. As it happens, prefixing the ExecStart= with a colon did not fix this. Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
-rw-r--r--ambient.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/ambient.service b/ambient.service
index d649fc4..a16bd91 100644
--- a/ambient.service
+++ b/ambient.service
@@ -4,5 +4,5 @@ After=dev-ttyS0.device
[Service]
Type=oneshot
-ExecStart=/bin/bash -c '/bin/ambient-boot /dev/vdb >/dev/ttyS1 2>&1'
+ExecStart=/bin/bash -c '/bin/ambient-boot /dev/vdb >/dev/ttyS1 2>&1 || true'
ExecStartPost=/sbin/poweroff