0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-15 19:09:46 +00:00
2016-03-12 01:41:55 +01:00

14 lines
346 B
Desktop File

[Unit]
Description=Kodi clean debug logs
ConditionKernelCommandLine=!debugging
ConditionPathExists=!/storage/.cache/debug.libreelec
Before=kodi.service
[Service]
Type=oneshot
ExecStart=-/bin/sh -c 'rm -rf /storage/.kodi/userdata/addon_data/*/*.log /storage/.kodi/userdata/addon_data/*/log/*'
RemainAfterExit=yes
[Install]
WantedBy=kodi.service