debugconfig: run after systemd-tmpfiles-setup

This commit is contained in:
Stefan Saraev 2015-01-18 18:07:47 +02:00 committed by Stephan Raue
parent 2bdf638ff5
commit 773aac378d

View File

@ -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