minidlna: fix systemd service activation symlink
authorAurélien Chabot <aurelien@chabot.fr>
Mon, 13 Jul 2015 18:38:44 +0000 (20:38 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 13 Jul 2015 18:41:42 +0000 (20:41 +0200)
Signed-off-by: Aurélien Chabot <aurelien@chabot.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/minidlna/minidlna.mk

index 7adb832f88231e1db56ecb9a3a4d44f66e555cb8..3a9ad416594a6008b6cb9c266a9696483650b72a 100644 (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