units: make emergency.service conflict with rescue.service

They both use StandardInput=tty-force so they cannot be run
concurrently.

https://bugs.freedesktop.org/show_bug.cgi?id=82778
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757072
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2014-08-30 22:33:40 -04:00
parent 20f8d3cf1b
commit 87502e5868
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ Description=Emergency Shell
Documentation=man:sulogin(8)
DefaultDependencies=no
Conflicts=shutdown.target
Conflicts=rescue.service
Before=shutdown.target
[Service]