.cache/openelec is a dir. a not file

.. so create it via tmpfiles.d + trailing / to
default service configs. or very bad thing happens.
This commit is contained in:
Stefan Saraev 2013-09-17 13:05:58 +03:00
parent 7d0bf986da
commit 810b0da190
4 changed files with 4 additions and 3 deletions

View File

@ -7,5 +7,5 @@ ConditionPathExists=!/storage/.cache/services/avahi.disabled
[Service] [Service]
Type=oneshot Type=oneshot
ExecStart=/bin/sh -c 'cp /usr/share/services/avahi.conf /storage/.cache/services' ExecStart=/bin/sh -c 'cp /usr/share/services/avahi.conf /storage/.cache/services/'
RemainAfterExit=yes RemainAfterExit=yes

View File

@ -7,5 +7,5 @@ ConditionPathExists=!/storage/.cache/services/samba.disabled
[Service] [Service]
Type=oneshot Type=oneshot
ExecStart=/bin/sh -c 'cp /usr/share/services/samba.conf /storage/.cache/services' ExecStart=/bin/sh -c 'cp /usr/share/services/samba.conf /storage/.cache/services/'
RemainAfterExit=yes RemainAfterExit=yes

View File

@ -7,5 +7,5 @@ ConditionPathExists=!/storage/.cache/services/crond.disabled
[Service] [Service]
Type=oneshot Type=oneshot
ExecStart=/bin/sh -c 'cp /usr/share/services/crond.conf /storage/.cache/services' ExecStart=/bin/sh -c 'cp /usr/share/services/crond.conf /storage/.cache/services/'
RemainAfterExit=yes RemainAfterExit=yes

View File

@ -26,3 +26,4 @@ d /var/media 0755 root root - -
d /var/run 1777 root root - - d /var/run 1777 root root - -
f /var/run/utmp 1777 root root - - f /var/run/utmp 1777 root root - -
d /storage/.cache/services 0755 root root - -