summaryrefslogtreecommitdiff
path: root/units/systemd-nspawn@.service.in
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-12-18 09:14:57 +0100
committerLennart Poettering <lennart@poettering.net>2020-01-20 16:50:16 +0100
commitcdc6804b6046282a42117678751c126a022cd24a (patch)
treeaaedb8a96dc54b8f25fdbb83ee794df42c838ae3 /units/systemd-nspawn@.service.in
parent5608deb847b793738b861b02e89590ac4ba7cadd (diff)
downloadsystemd-cdc6804b6046282a42117678751c126a022cd24a.tar.gz
units: drop full paths for utilities in $PATH
This makes things a bit simpler and the build a bit faster, because we don't have to rewrite files to do the trivial substitution. @rootbindir@ is always in our internal $PATH that we use for non-absolute paths, so there should be no functional change.
Diffstat (limited to 'units/systemd-nspawn@.service.in')
-rw-r--r--units/systemd-nspawn@.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-nspawn@.service.in b/units/systemd-nspawn@.service.in
index 5367ee4410..51634472ac 100644
--- a/units/systemd-nspawn@.service.in
+++ b/units/systemd-nspawn@.service.in
@@ -18,7 +18,7 @@ RequiresMountsFor=/var/lib/machines
[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