openntpd: move systemd service files to /usr/lib

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Mike Williams 2015-03-20 15:13:56 -04:00 committed by Thomas Petazzoni
parent ad56242ae3
commit 407e542d77

View File

@ -11,9 +11,9 @@ OPENNTPD_LICENSE_FILES = COPYING
define OPENNTPD_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 0644 package/openntpd/ntpd.service \
$(TARGET_DIR)/etc/systemd/system/ntpd.service
$(TARGET_DIR)/usr/lib/systemd/system/ntpd.service
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
ln -fs ../ntpd.service \
ln -fs ../../../../usr/lib/systemd/system/ntpd.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ntpd.service
endef