From: Aurélien Chabot Date: Mon, 13 Jul 2015 18:53:10 +0000 (+0200) Subject: nginx: activate the systemd service X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=112ab5f40467f8d8b89cdba99d864f33a7618054;p=buildroot.git nginx: activate the systemd service Signed-off-by: Aurélien Chabot Signed-off-by: Thomas Petazzoni --- 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