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] [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