X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Finitrd-switch-root.service.in;fp=units%2Finitrd-switch-root.service;h=6740264149f7883c9089a015baf27115154028fc;hp=e076b391debc8356bbdbb93e3f9f4284583230b2;hb=7b40ce553f0ec9487077e53f5bdc46580025901c;hpb=2f6eb835ca05816142899188a3c9da30d3138efe diff --git a/units/initrd-switch-root.service b/units/initrd-switch-root.service.in similarity index 88% rename from units/initrd-switch-root.service rename to units/initrd-switch-root.service.in index e076b391d..674026414 100644 --- a/units/initrd-switch-root.service +++ b/units/initrd-switch-root.service.in @@ -15,5 +15,5 @@ AllowIsolate=yes [Service] Type=oneshot # we have to use "--force" here, otherwise systemd would umount /run -ExecStart=/usr/bin/systemctl --no-block --force switch-root /sysroot +ExecStart=@rootbindir@/systemctl --no-block --force switch-root /sysroot KillMode=none