mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
nginx: activate the systemd service
Signed-off-by: Aurélien Chabot <aurelien@chabot.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
03663adb82
commit
112ab5f404
@@ -230,6 +230,11 @@ endef
|
|||||||
define NGINX_INSTALL_INIT_SYSTEMD
|
define NGINX_INSTALL_INIT_SYSTEMD
|
||||||
$(INSTALL) -D -m 0644 package/nginx/nginx.service \
|
$(INSTALL) -D -m 0644 package/nginx/nginx.service \
|
||||||
$(TARGET_DIR)/usr/lib/systemd/system/nginx.service
|
$(TARGET_DIR)/usr/lib/systemd/system/nginx.service
|
||||||
|
|
||||||
|
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||||
|
|
||||||
|
ln -fs ../../../../usr/lib/systemd/system/nginx.service \
|
||||||
|
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/nginx.service
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define NGINX_INSTALL_INIT_SYSV
|
define NGINX_INSTALL_INIT_SYSV
|
||||||
|
|||||||
Reference in New Issue
Block a user