FreeBSD Bugzilla – Attachment 247686 Details for
Bug 255106
www/caddy: rc.d/caddy requires admin API for stopping
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix caddy rc script prestop function
caddy_prestop.patch (text/plain), 541 bytes, created by
Sean Farley
on 2024-01-15 20:22:55 UTC
(
hide
)
Description:
Fix caddy rc script prestop function
Filename:
MIME Type:
Creator:
Sean Farley
Created:
2024-01-15 20:22:55 UTC
Size:
541 bytes
patch
obsolete
>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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 255106
:
237027
| 247686