diff options
Diffstat (limited to 'units/systemd-nspawn@.service.in')
-rw-r--r-- | units/systemd-nspawn@.service.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/units/systemd-nspawn@.service.in b/units/systemd-nspawn@.service.in index 669fea3c12..5367ee4410 100644 --- a/units/systemd-nspawn@.service.in +++ b/units/systemd-nspawn@.service.in @@ -10,14 +10,14 @@ [Unit] Description=Container %i Documentation=man:systemd-nspawn(1) +Wants=modprobe@tun.service modprobe@loop.service modprobe@dm-mod.service PartOf=machines.target Before=machines.target -After=network.target systemd-resolved.service +After=network.target systemd-resolved.service modprobe@tun.service modprobe@loop.service modprobe@dm-mod.service RequiresMountsFor=/var/lib/machines [Service] # Make sure the DeviceAllow= lines below can properly resolve the 'block-loop' expression (and others) -ExecStartPre=-/sbin/modprobe -abq tun loop dm-mod ExecStart=@bindir@/systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --network-veth -U --settings=override --machine=%i KillMode=mixed Type=notify |