]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/initrd-switch-root.service.in
test-string-util: add another test for stripping slashes
[thirdparty/systemd.git] / units / initrd-switch-root.service.in
index 82893dafb1001fce6a202c469f0a8120af15c40c..6ce468e872c83dfadd595f419c0d2daf3c6fc9aa 100644 (file)
@@ -1,3 +1,5 @@
+#  SPDX-License-Identifier: LGPL-2.1+
+#
 #  This file is part of systemd.
 #
 #  systemd is free software; you can redistribute it and/or modify it
@@ -15,6 +17,4 @@ AllowIsolate=yes
 
 [Service]
 Type=oneshot
-# we have to use "--force" here, otherwise systemd would umount /run
-ExecStart=@rootbindir@/systemctl --no-block --force switch-root /sysroot
-KillMode=none
+ExecStart=@rootbindir@/systemctl --no-block switch-root /sysroot