]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: enable watchdog notifications for vmspawn
authorLennart Poettering <lennart@poettering.net>
Fri, 23 May 2025 13:45:00 +0000 (15:45 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 26 May 2025 11:23:45 +0000 (13:23 +0200)
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

index fc4522ddb817036d1b994e2c0395fa480806cc06..496b65117724adb8aa4e889341d349ecc69bb558 100644 (file)
@@ -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