mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
ntp: move systemd service file 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
c986d663d7
commit
7afccf6776
@ -71,9 +71,10 @@ define NTP_INSTALL_INIT_SYSV
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define NTP_INSTALL_INIT_SYSTEMD
|
define NTP_INSTALL_INIT_SYSTEMD
|
||||||
$(INSTALL) -D -m 644 package/ntp/ntpd.service $(TARGET_DIR)/etc/systemd/system/ntpd.service
|
$(INSTALL) -D -m 644 package/ntp/ntpd.service $(TARGET_DIR)/usr/lib/systemd/system/ntpd.service
|
||||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||||
ln -fs ../ntpd.service $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ntpd.service
|
ln -fs ../../../../usr/lib/systemd/system/ntpd.service \
|
||||||
|
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ntpd.service
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user