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=2aa98d3cc55af80cab6780164486d2d9d8813858;hb=132764a2236fd6a4acb0e8d698f135c186677ad4;hpb=d1f9edafe7b832c507931640f32069d001916b0e diff --git a/units/debug-shell.service.in b/units/debug-shell.service.in index 2aa98d3cc..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 tty9 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=/dev/tty9 +TTYPath=@DEBUGTTY@ TTYReset=yes TTYVHangup=yes KillMode=process