minidlna: fix systemd service activation symlink

Signed-off-by: Aurélien Chabot <aurelien@chabot.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Aurélien Chabot 2015-07-13 20:38:44 +02:00 committed by Thomas Petazzoni
parent c0ce66ea6f
commit dcd309f333

View File

@ -37,11 +37,11 @@ endef
define MINIDLNA_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 0755 package/minidlna/minidlnad.service \
$(TARGET_DIR)/lib/systemd/system/minidlnad.service
$(TARGET_DIR)/usr/lib/systemd/system/minidlnad.service
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
ln -fs ../minidlnad.service \
ln -fs ../../../../usr/lib/systemd/system/minidlnad.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/minidlnad.service
endef