acme: Fix uhttpd restart to load new certificates
authorDennis Schüsselbauer <scde@users.noreply.github.com>
Sat, 28 Aug 2021 02:42:51 +0000 (04:42 +0200)
committerRosen Penev <rosenp@gmail.com>
Mon, 6 Sep 2021 21:29:41 +0000 (14:29 -0700)
Fixes issue #16256

Bump PKG_RELEASE to 4.

Signed-off-by: Dennis Schüsselbauer <scde@users.noreply.github.com>
(cherry picked from commit d69534751e2cf15aa7add8e8db713fd7131edd1f)

net/acme/Makefile
net/acme/files/run.sh

index db4af999cce5151faa0cf72b509a5ce50900738a..dd8cc8d4f4e50dbf3e20ee21f66df7dde0cf720a 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=acme
 PKG_VERSION:=2.8.5
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/Neilpang/acme.sh/tar.gz/$(PKG_VERSION)?
index bec94bcceaf4182108a42957699447eeccc16507..ad0f9efb061e8c277092097d4540cfef577cb2d4 100644 (file)
@@ -141,7 +141,7 @@ post_checks()
             UHTTPD_LISTEN_HTTP=
         fi
         uci commit uhttpd
-        /etc/init.d/uhttpd reload
+        /etc/init.d/uhttpd restart
     fi
 
     if [ -e /etc/init.d/nginx ] && ( [ "$NGINX_WEBSERVER" -eq 1 ] || [ "$UPDATE_NGINX" -eq 1 ] ); then