diff --git a/net/acme/Makefile b/net/acme/Makefile index 54ee236dbd7a5..7940a589d2290 100644 --- a/net/acme/Makefile +++ b/net/acme/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=acme PKG_VERSION:=2.8.7 -PKG_RELEASE:=5 +PKG_RELEASE:=6 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/acmesh-official/acme.sh/tar.gz/$(PKG_VERSION)? diff --git a/net/acme/files/run.sh b/net/acme/files/run.sh index 87863b58d4284..c2c4a57ebb8a1 100644 --- a/net/acme/files/run.sh +++ b/net/acme/files/run.sh @@ -73,7 +73,7 @@ pre_checks() for listener in $(get_listeners); do pid="${listener%/*}" - cmd="${listener#*/}" + cmd="$(basename $(readlink /proc/$pid/exe))" case "$cmd" in uhttpd) @@ -100,7 +100,7 @@ pre_checks() return 1 fi ;; - nginx*) + nginx) if [ "$NGINX_WEBSERVER" -eq "1" ]; then debug "Already handled nginx; skipping" continue