aboutsummaryrefslogtreecommitdiff
path: root/www/caddy
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2024-01-17 11:41:24 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2024-01-17 11:49:24 +0000
commit2d925f150358bf061d4fec9bb8caa009e0a56442 (patch)
tree55e121769bacbe99b5618295f1dde6ada3daec04 /www/caddy
parente32cceef0b1aa6de0c62357a841c29bde1b04fad (diff)
downloadports-2d925f150358bf061d4fec9bb8caa009e0a56442.tar.gz
ports-2d925f150358bf061d4fec9bb8caa009e0a56442.zip
Diffstat (limited to 'www/caddy')
-rw-r--r--www/caddy/Makefile1
-rw-r--r--www/caddy/files/caddy.in4
2 files changed, 4 insertions, 1 deletions
diff --git a/www/caddy/Makefile b/www/caddy/Makefile
index 6d9545d465bd..b6bf4f6044db 100644
--- a/www/caddy/Makefile
+++ b/www/caddy/Makefile
@@ -1,6 +1,7 @@
PORTNAME= caddy
DISTVERSIONPREFIX= v
DISTVERSION= 2.7.6
+PORTREVISION= 1
CATEGORIES= www
DIST_SUBDIR= caddy
diff --git a/www/caddy/files/caddy.in b/www/caddy/files/caddy.in
index 37babe7889d3..34b0157f1d00 100644
--- a/www/caddy/files/caddy.in
+++ b/www/caddy/files/caddy.in
@@ -150,7 +150,9 @@ caddy_prestop()
echo "done"
exit 0
else
- if echo "${result}" | grep -q "connection refused"; then
+ if echo "${result}" | grep -q -e "connection refused" \
+ -e "connect: no such file or directory"; then
+
echo "admin interface unavailable; using pidfile"
return 0
else