xbmc: fix service file

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-08-16 21:23:54 +02:00
parent 807c37082c
commit 0a5a6c6b29

View File

@ -5,9 +5,7 @@ Before=xbmc.service
[Service] [Service]
Type=oneshot Type=oneshot
Environment=HOME=/storage ExecStart=-/bin/sh -c 'rm -rf /storage/.xbmc/userdata/addon_data/*/*.log /storage/.xbmc/userdata/addon_data/*/log/*'
ExecStart=-/bin/sh -c rm -rf /storage/.xbmc/userdata/addon_data/*/*.log /storage/.xbmc/userdata/addon_data/*/log/*
RemainAfterExit=yes
[Install] [Install]
WantedBy=xbmc.service WantedBy=xbmc.service