From 112ab5f40467f8d8b89cdba99d864f33a7618054 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aur=C3=A9lien=20Chabot?= Date: Mon, 13 Jul 2015 20:53:10 +0200 Subject: [PATCH] nginx: activate the systemd service MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Chabot Signed-off-by: Thomas Petazzoni --- package/nginx/nginx.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/nginx/nginx.mk b/package/nginx/nginx.mk index c617f680ee..32a337c2de 100644 --- a/package/nginx/nginx.mk +++ b/package/nginx/nginx.mk @@ -230,6 +230,11 @@ endef define NGINX_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 0644 package/nginx/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 define NGINX_INSTALL_INIT_SYSV -- 2.30.2