1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-25 01:26:18 +00:00
Lakka-LibreELEC/packages/sysutils/busybox/system.d.opt/cron-defaults.service
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