summaryrefslogtreecommitdiffstats
path: root/units/breakpoint-pre-switch-root.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'units/breakpoint-pre-switch-root.service.in')
-rw-r--r--units/breakpoint-pre-switch-root.service.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/units/breakpoint-pre-switch-root.service.in b/units/breakpoint-pre-switch-root.service.in
index 76eaa8039a..4c6334662c 100644
--- a/units/breakpoint-pre-switch-root.service.in
+++ b/units/breakpoint-pre-switch-root.service.in
@@ -12,10 +12,10 @@ Description=Breakpoint Before Switching Root
Documentation=man:systemd-debug-generator(8)
AssertPathExists=/etc/initrd-release
DefaultDependencies=no
+RefuseManualStart=yes
Conflicts=shutdown.target emergency.target
-Wants=remote-fs.target
-After=initrd.target initrd-parse-etc.service sysroot.mount remote-fs.target systemd-vconsole-setup.service
-Before=initrd-cleanup.service
+After=initrd.target initrd-parse-etc.service remote-fs.target systemd-vconsole-setup.service
+Before=initrd-cleanup.service shutdown.target emergency.target
[Service]
Environment=SHELL_PROMPT_PREFIX="pre-switch-root "