mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
25 lines
461 B
Desktop File
25 lines
461 B
Desktop File
[Unit]
|
|
Description=Debug Shell
|
|
|
|
ConditionKernelCommandLine=|tty
|
|
ConditionKernelCommandLine=|debugging
|
|
ConditionPathExists=|/storage/.cache/debug.openelec
|
|
|
|
[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=basic.target
|