kodi-cleanlogs has no job in sysinit.target

This commit is contained in:
Stefan Saraev 2015-01-18 17:36:34 +02:00 committed by Stephan Raue
parent 91ba059f9a
commit cb1d8a0756

View File

@ -2,7 +2,7 @@
Description=Kodi clean debug logs Description=Kodi clean debug logs
ConditionKernelCommandLine=!debugging ConditionKernelCommandLine=!debugging
ConditionPathExists=!/storage/.cache/debug.openelec ConditionPathExists=!/storage/.cache/debug.openelec
DefaultDependencies=no Before=kodi.service
[Service] [Service]
Type=oneshot Type=oneshot
@ -10,4 +10,4 @@ ExecStart=-/bin/sh -c 'rm -rf /storage/.kodi/userdata/addon_data/*/*.log /storag
RemainAfterExit=yes RemainAfterExit=yes
[Install] [Install]
WantedBy=sysinit.target WantedBy=kodi.service