aboutsummaryrefslogtreecommitdiff
path: root/net/nginx/Makefile
diff options
context:
space:
mode:
authorGlen Huang <i@glenhuang.com>2022-10-22 22:17:08 +0800
committerGlen Huang <i@glenhuang.com>2022-10-24 10:07:06 +0800
commit7f04710579ef9466bc429403624fed71f112d6c9 (patch)
treef7f73297d0e38e6a56a500912027208844fb6618 /net/nginx/Makefile
parent035cc09e7f2b3619adce079ee266ad354f32e53b (diff)
amce: use procd to restart services
Directly calling `/etc/init.d/<service> reload` in a hotplug script can inadvertently start a stopped service. Signed-off-by: Glen Huang <i@glenhuang.com>
Diffstat (limited to 'net/nginx/Makefile')
-rw-r--r--net/nginx/Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/nginx/Makefile b/net/nginx/Makefile
index 41436aa39..0cb8c65b0 100644
--- a/net/nginx/Makefile
+++ b/net/nginx/Makefile
@@ -376,9 +376,6 @@ ifeq ($(CONFIG_NGINX_NAXSI),y)
endif
$(if $(CONFIG_NGINX_NAXSI),$($(INSTALL_BIN) $(PKG_BUILD_DIR)/nginx-naxsi/naxsi_config/naxsi_core.rules $(1)/etc/nginx))
$(if $(CONFIG_NGINX_NAXSI),$(chmod 0640 $(1)/etc/nginx/naxsi_core.rules))
-
- $(INSTALL_DIR) $(1)/etc/hotplug.d/acme
- $(INSTALL_DATA) ./files/acme.hotplug $(1)/etc/hotplug.d/acme/00-nginx
endef
Package/nginx-all-module/install = $(Package/nginx-ssl/install)