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