From 0cca16a8362d928648df8c49d8f17d520848bbe2 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 23 May 2025 15:45:00 +0200 Subject: [PATCH] units: enable watchdog notifications for vmspawn nspawn supports it and enables it. Let's do this for vmspawn too. It already supports it in code. Let's make it also work in the unit file. --- units/systemd-vmspawn@.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/units/systemd-vmspawn@.service.in b/units/systemd-vmspawn@.service.in index fc4522ddb81..496b6511772 100644 --- a/units/systemd-vmspawn@.service.in +++ b/units/systemd-vmspawn@.service.in @@ -20,6 +20,7 @@ ExecStart=systemd-vmspawn --quiet --register=yes --keep-unit --network-tap --mac KillMode=mixed Type=notify Slice=machine.slice +{{SERVICE_WATCHDOG}} {# Enforce a strict device policy. Make sure to keep these policies in sync if you change them! #} DevicePolicy=closed -- 2.47.3