mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00: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:
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user