chiark / gitweb /
build-sys: don't hard-code binary paths in initrd-*.service
[elogind.git] / units / initrd-cleanup.service.in
similarity index 87%
rename from units/initrd-cleanup.service
rename to units/initrd-cleanup.service.in
index 89986964ea73b64d266a87ee8557a9374e339d67..e926a1eec2e3ef7c1ea580708eb80f8ad8cc24de 100644 (file)
@@ -15,4 +15,4 @@ After=local-fs.target swap.target
 
 [Service]
 Type=oneshot
-ExecStart=/usr/bin/systemctl --no-block isolate initrd-switch-root.target
+ExecStart=@rootbindir@/systemctl --no-block isolate initrd-switch-root.target