diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-01-17 17:25:42 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-01-17 20:47:46 +0100 |
commit | cde3d687506d0d92a5efe8a925047b4c828e6f98 (patch) | |
tree | 5e47ab34065c9c157b7618621a4658cfc1936a70 /units/emergency.service.in | |
parent | resolved: update DNSSEC TODO (diff) | |
download | systemd-cde3d687506d0d92a5efe8a925047b4c828e6f98.tar.xz systemd-cde3d687506d0d92a5efe8a925047b4c828e6f98.zip |
units: don't fail if /root doesn't exist for shell units
As discussed on the ML:
http://lists.freedesktop.org/archives/systemd-devel/2016-January/035594.html
Diffstat (limited to 'units/emergency.service.in')
-rw-r--r-- | units/emergency.service.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/emergency.service.in b/units/emergency.service.in index 8dc3cbdede..fb390eacfe 100644 --- a/units/emergency.service.in +++ b/units/emergency.service.in @@ -15,7 +15,7 @@ Before=shutdown.target [Service] Environment=HOME=/root -WorkingDirectory=/root +WorkingDirectory=-/root ExecStartPre=-/bin/plymouth --wait quit ExecStartPre=-/bin/echo -e 'Welcome to emergency mode! After logging in, type "journalctl -xb" to view\\nsystem logs, "systemctl reboot" to reboot, "systemctl default" or ^D to\\ntry again to boot into default mode.' ExecStart=-/bin/sh -c "@SULOGIN@; @SYSTEMCTL@ --job-mode=fail --no-block default" |