mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 22:47:51 +00:00
systemd: rework debugconfig.service
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
b5a5bff496
commit
59dbdf7192
@ -1,13 +1,14 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Setup debug config
|
Description=Setup debug config
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
After=local-fs.target systemd-tmpfiles-setup.service
|
Before=local-fs.target shutdown.target
|
||||||
|
Conflicts=shutdown.target
|
||||||
|
|
||||||
ConditionKernelCommandLine=debugging
|
ConditionKernelCommandLine=debugging
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/bin/sh -c 'cp /usr/share/debugconf/*.conf /run/openelec/debug'
|
ExecStart=/bin/sh -c 'mkdir -p /run/openelec/debug; cp /usr/share/debugconf/*.conf /run/openelec/debug'
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=sysinit.target
|
WantedBy=local-fs.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user