From: Lennart Poettering Date: Fri, 23 May 2025 13:45:00 +0000 (+0200) Subject: units: enable watchdog notifications for vmspawn X-Git-Tag: v258-rc1~494 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cca16a8362d928648df8c49d8f17d520848bbe2;p=thirdparty%2Fsystemd.git 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. --- 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