Files
Arch-R/packages/sysutils/busybox/system.d/debug-shell.service

26 lines
487 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Debug Shell
2014-10-19 17:36:55 +03:00
DefaultDependencies=no
ConditionKernelCommandLine=|tty
ConditionKernelCommandLine=|debugging
2016-03-11 22:31:41 +01:00
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]
2014-10-19 17:36:55 +03:00
WantedBy=sysinit.target