diff options
Diffstat (limited to 'units')
-rw-r--r-- | units/systemd-nspawn@.service.in | 8 | ||||
-rw-r--r-- | units/systemd-resolved.service.m4.in | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/units/systemd-nspawn@.service.in b/units/systemd-nspawn@.service.in index c8141639b6..8c0685aef5 100644 --- a/units/systemd-nspawn@.service.in +++ b/units/systemd-nspawn@.service.in @@ -10,7 +10,7 @@ Description=Container %i Documentation=man:systemd-nspawn(1) PartOf=machines.target Before=machines.target -After=network.target +After=network.target systemd-resolved.service [Service] ExecStart=@bindir@/systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --network-veth -U --settings=override --machine=%i @@ -22,9 +22,9 @@ Slice=machine.slice Delegate=yes TasksMax=16384 -# Enforce a strict device policy, similar to the one nspawn configures -# when it allocates its own scope unit. Make sure to keep these -# policies in sync if you change them! +## Enforce a strict device policy, similar to the one nspawn configures +## when it allocates its own scope unit. Make sure to keep these +## policies in sync if you change them! DevicePolicy=closed DeviceAllow=/dev/net/tun rwm DeviceAllow=char-pts rw diff --git a/units/systemd-resolved.service.m4.in b/units/systemd-resolved.service.m4.in index 820e299168..70491e0751 100644 --- a/units/systemd-resolved.service.m4.in +++ b/units/systemd-resolved.service.m4.in @@ -41,3 +41,4 @@ ReadWritePaths=/run/systemd [Install] WantedBy=multi-user.target +Alias=dbus-org.freedesktop.resolve1.service |