mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
debugconfig: run after systemd-tmpfiles-setup
This commit is contained in:
parent
2bdf638ff5
commit
773aac378d
@ -1,15 +1,14 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Setup debug config
|
Description=Setup debug config
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Before=local-fs.target shutdown.target
|
After=systemd-tmpfiles-setup.service
|
||||||
Conflicts=shutdown.target
|
|
||||||
|
|
||||||
ConditionKernelCommandLine=|debugging
|
ConditionKernelCommandLine=|debugging
|
||||||
ConditionPathExists=|/storage/.cache/debug.openelec
|
ConditionPathExists=|/storage/.cache/debug.openelec
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/bin/sh -c 'mkdir -p /run/openelec/debug; cp /usr/share/debugconf/*.conf /run/openelec/debug'
|
ExecStart=/bin/sh -c 'cp /usr/share/debugconf/*.conf /run/openelec/debug'
|
||||||
|
RemainAfterExit=yes
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=local-fs.target
|
WantedBy=sysinit.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user