mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
26 lines
487 B
Desktop File
26 lines
487 B
Desktop File
[Unit]
|
|
Description=Debug Shell
|
|
|
|
DefaultDependencies=no
|
|
ConditionKernelCommandLine=|tty
|
|
ConditionKernelCommandLine=|debugging
|
|
ConditionPathExists=|/storage/.cache/debug.libreelec
|
|
|
|
[Service]
|
|
Environment=TTY=3
|
|
WorkingDirectory=/storage
|
|
ExecStart=/bin/sh -c '. /etc/profile; exec /bin/sh'
|
|
Restart=always
|
|
RestartSec=0
|
|
StandardInput=tty
|
|
TTYPath=/dev/tty3
|
|
TTYReset=yes
|
|
TTYVHangup=yes
|
|
KillMode=process
|
|
IgnoreSIGPIPE=no
|
|
# bash ignores SIGTERM
|
|
KillSignal=SIGHUP
|
|
|
|
[Install]
|
|
WantedBy=sysinit.target
|