summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--units/emergency.service.in1
-rw-r--r--units/syslog.socket1
2 files changed, 2 insertions, 0 deletions
diff --git a/units/emergency.service.in b/units/emergency.service.in
index ddf7d4cbe2..9a81fc4da9 100644
--- a/units/emergency.service.in
+++ b/units/emergency.service.in
@@ -12,6 +12,7 @@ DefaultDependencies=no
Conflicts=shutdown.target
Conflicts=rescue.service
Before=shutdown.target
+Before=rescue.service
[Service]
Environment=HOME=/root
diff --git a/units/syslog.socket b/units/syslog.socket
index 372e8fcd45..43981904ea 100644
--- a/units/syslog.socket
+++ b/units/syslog.socket
@@ -18,6 +18,7 @@ Before=shutdown.target
# Don't try to activate syslog.service if sysinit.target has failed.
Conflicts=emergency.service
+Before=emergency.service
[Socket]
ListenDatagram=/run/systemd/journal/syslog