mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
add optional /storage/.cache/debug.openelec to enable debugging
This commit is contained in:
parent
7ff967635b
commit
baf8b197dc
@ -1,6 +1,7 @@
|
||||
[Unit]
|
||||
Description=XBMC clean debug logs
|
||||
ConditionKernelCommandLine=!debugging
|
||||
ConditionPathExists=!/storage/.cache/debug.openelec
|
||||
Before=xbmc.service
|
||||
|
||||
[Service]
|
||||
|
@ -1,7 +1,8 @@
|
||||
[Unit]
|
||||
Description=Debug Shell
|
||||
|
||||
ConditionKernelCommandLine=debugging
|
||||
ConditionKernelCommandLine=|debugging
|
||||
ConditionPathExists=|/storage/.cache/debug.openelec
|
||||
|
||||
[Service]
|
||||
Environment=TTY=3
|
||||
|
@ -3,8 +3,9 @@ Description=Debug /var/log relink
|
||||
DefaultDependencies=false
|
||||
After=systemd-tmpfiles-setup.service var.mount
|
||||
|
||||
ConditionKernelCommandLine=debugging
|
||||
ConditionKernelCommandLine=!installer
|
||||
ConditionKernelCommandLine=|debugging
|
||||
ConditionPathExists=|/storage/.cache/debug.openelec
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
@ -4,7 +4,8 @@ DefaultDependencies=no
|
||||
Before=local-fs.target shutdown.target
|
||||
Conflicts=shutdown.target
|
||||
|
||||
ConditionKernelCommandLine=debugging
|
||||
ConditionKernelCommandLine=|debugging
|
||||
ConditionPathExists=|/storage/.cache/debug.openelec
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
Loading…
x
Reference in New Issue
Block a user