mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
debugconfig: run after systemd-tmpfiles-setup
This commit is contained in:
parent
2bdf638ff5
commit
773aac378d
@ -1,15 +1,14 @@
|
||||
[Unit]
|
||||
Description=Setup debug config
|
||||
DefaultDependencies=no
|
||||
Before=local-fs.target shutdown.target
|
||||
Conflicts=shutdown.target
|
||||
|
||||
After=systemd-tmpfiles-setup.service
|
||||
ConditionKernelCommandLine=|debugging
|
||||
ConditionPathExists=|/storage/.cache/debug.openelec
|
||||
|
||||
[Service]
|
||||
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]
|
||||
WantedBy=local-fs.target
|
||||
WantedBy=sysinit.target
|
||||
|
Loading…
x
Reference in New Issue
Block a user