X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fdebug-shell.service.in;h=59f6e494b375d58e42fc73314867b475550ff6ed;hp=50afb11e9026ca58ec88d7a3cce1e8fb38896de8;hb=132764a2236fd6a4acb0e8d698f135c186677ad4;hpb=d95fd3df5997b0dab8650d9427997d295d0975e3 diff --git a/units/debug-shell.service.in b/units/debug-shell.service.in index 50afb11e9..59f6e494b 100644 --- a/units/debug-shell.service.in +++ b/units/debug-shell.service.in @@ -6,18 +6,19 @@ # (at your option) any later version. [Unit] -Description=Early root shell on @debugshell@ FOR DEBUGGING ONLY +Description=Early root shell on @DEBUGTTY@ FOR DEBUGGING ONLY Documentation=man:sushell(8) DefaultDependencies=no IgnoreOnIsolate=yes +ConditionPathExists=@DEBUGTTY@ [Service] Environment=TERM=linux -ExecStart=@sushell@ +ExecStart=@SUSHELL@ Restart=always RestartSec=0 StandardInput=tty -TTYPath=@debugshell@ +TTYPath=@DEBUGTTY@ TTYReset=yes TTYVHangup=yes KillMode=process