forked from pool/systemd
14 lines
435 B
Diff
14 lines
435 B
Diff
|
Index: systemd-195/units/debug-shell.service.in
|
||
|
===================================================================
|
||
|
--- systemd-195.orig/units/debug-shell.service.in
|
||
|
+++ systemd-195/units/debug-shell.service.in
|
||
|
@@ -13,7 +13,7 @@ IgnoreOnIsolate=yes
|
||
|
|
||
|
[Service]
|
||
|
Environment=TERM=linux
|
||
|
-ExecStart=@sushell@
|
||
|
+ExecStart=/bin/bash -c '[ -x @sushell@ ] && exec @sushell@ || exec /bin/bash'
|
||
|
Restart=always
|
||
|
RestartSec=0
|
||
|
StandardInput=tty
|