From 810b0da1902d58b76393b1db7e34ecc6aebf57da Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Tue, 17 Sep 2013 13:05:58 +0300 Subject: [PATCH] .cache/openelec is a dir. a not file .. so create it via tmpfiles.d + trailing / to default service configs. or very bad thing happens. --- packages/network/avahi/system.d/avahi-defaults.service | 2 +- packages/network/samba/system.d.opt/samba-defaults.service | 2 +- packages/sysutils/busybox/system.d.opt/cron-defaults.service | 2 +- packages/sysutils/busybox/tmpfiles.d/busybox.conf | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/network/avahi/system.d/avahi-defaults.service b/packages/network/avahi/system.d/avahi-defaults.service index 8deedac06e..2db5833be3 100644 --- a/packages/network/avahi/system.d/avahi-defaults.service +++ b/packages/network/avahi/system.d/avahi-defaults.service @@ -7,5 +7,5 @@ ConditionPathExists=!/storage/.cache/services/avahi.disabled [Service] 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 diff --git a/packages/network/samba/system.d.opt/samba-defaults.service b/packages/network/samba/system.d.opt/samba-defaults.service index db84326133..dcec936ff7 100644 --- a/packages/network/samba/system.d.opt/samba-defaults.service +++ b/packages/network/samba/system.d.opt/samba-defaults.service @@ -7,5 +7,5 @@ ConditionPathExists=!/storage/.cache/services/samba.disabled [Service] 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 diff --git a/packages/sysutils/busybox/system.d.opt/cron-defaults.service b/packages/sysutils/busybox/system.d.opt/cron-defaults.service index 0ce24d37c9..fdd14e95bd 100644 --- a/packages/sysutils/busybox/system.d.opt/cron-defaults.service +++ b/packages/sysutils/busybox/system.d.opt/cron-defaults.service @@ -7,5 +7,5 @@ ConditionPathExists=!/storage/.cache/services/crond.disabled [Service] 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 diff --git a/packages/sysutils/busybox/tmpfiles.d/busybox.conf b/packages/sysutils/busybox/tmpfiles.d/busybox.conf index 5215035410..7aa19f932a 100644 --- a/packages/sysutils/busybox/tmpfiles.d/busybox.conf +++ b/packages/sysutils/busybox/tmpfiles.d/busybox.conf @@ -26,3 +26,4 @@ d /var/media 0755 root root - - d /var/run 1777 root root - - f /var/run/utmp 1777 root root - - +d /storage/.cache/services 0755 root root - -