From 5c12deb63fd339a2afb6fb1e3df808104471618f Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 15 Jan 2021 22:54:11 +0100 Subject: [PATCH] - minidlna: fix start w/o logdir --- make/target-tools.mk | 1 + skel-root/general/scripts/minidlnad.init | 2 ++ 2 files changed, 3 insertions(+) diff --git a/make/target-tools.mk b/make/target-tools.mk index 084db347..3cc6547e 100644 --- a/make/target-tools.mk +++ b/make/target-tools.mk @@ -998,6 +998,7 @@ minidlna: $(MINIDLNA_DEPS) $(DL_DIR)/$(MINIDLNA_SOURCE) | $(TARGET_DIR) $(CONFIGURE) \ --prefix=$(prefix) \ --localedir=$(REMOVE_localedir) \ + --with-log-path=/tmp/minidlna \ --disable-static \ ; \ $(MAKE); \ diff --git a/skel-root/general/scripts/minidlnad.init b/skel-root/general/scripts/minidlnad.init index 038e1ef5..4cf531f9 100644 --- a/skel-root/general/scripts/minidlnad.init +++ b/skel-root/general/scripts/minidlnad.init @@ -4,6 +4,8 @@ start() { if [ -e /var/etc/.minidlnad ]; then + # minidlnad needs /tmp/minidlna or it will exit silently + mkdir -p /tmp/minidlna minidlnad "$@" fi }