0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-02-12 10:28:09 +00:00
Stefan Saraev 810b0da190 .cache/openelec is a dir. a not file
.. so create it via tmpfiles.d + trailing / to
default service configs. or very bad thing happens.
2013-09-17 13:07:08 +03:00

12 lines
301 B
Desktop File

[Unit]
Description=Cron defaults
After=local-fs.target
ConditionPathExists=!/storage/.cache/services/crond.conf
ConditionPathExists=!/storage/.cache/services/crond.disabled
[Service]
Type=oneshot
ExecStart=/bin/sh -c 'cp /usr/share/services/crond.conf /storage/.cache/services/'
RemainAfterExit=yes