Browse Source

- minidlna: fix start w/o logdir

master
vanhofen 4 years ago
parent
commit
5c12deb63f
  1. 1
      make/target-tools.mk
  2. 2
      skel-root/general/scripts/minidlnad.init

1
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); \

2
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
}

Loading…
Cancel
Save