]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-nspawn@.service.in
Fix clang-11 issues
[thirdparty/systemd.git] / units / systemd-nspawn@.service.in
index 5367ee44105b3bf7dddd21e2773f5473bdee7a64..c91c92707e060826c9e3fa5ed751de6a4fe248ff 100644 (file)
@@ -14,11 +14,11 @@ Wants=modprobe@tun.service modprobe@loop.service modprobe@dm-mod.service
 PartOf=machines.target
 Before=machines.target
 After=network.target systemd-resolved.service modprobe@tun.service modprobe@loop.service modprobe@dm-mod.service
-RequiresMountsFor=/var/lib/machines
+RequiresMountsFor=/var/lib/machines/%i
 
 [Service]
 # Make sure the DeviceAllow= lines below can properly resolve the 'block-loop' expression (and others)
-ExecStart=@bindir@/systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --network-veth -U --settings=override --machine=%i
+ExecStart=systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --network-veth -U --settings=override --machine=%i
 KillMode=mixed
 Type=notify
 RestartForceExitStatus=133