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:
parent
c0ce66ea6f
commit
dcd309f333
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user