aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorMatt Holt <[email protected]>2024-04-13 21:31:43 -0400
committerGitHub <[email protected]>2024-04-13 21:31:43 -0400
commit81413caea251a3ef9e3641d7b1b6e867572a2b1b (patch)
tree1a379dcf516e8d7daeae1fb00e54c1fbf1e74696 /cmd
parentdc9dd2e4b3e266cb1267f672e3bcfd50c67cc3d4 (diff)
downloadcaddy-81413caea251a3ef9e3641d7b1b6e867572a2b1b.tar.gz
caddy-81413caea251a3ef9e3641d7b1b6e867572a2b1b.zip
caddytls: Upgrade ACMEz to v2; support ZeroSSL API; various fixes (#6229)
* WIP: acmez v2, CertMagic, and ZeroSSL issuer upgrades * caddytls: ZeroSSLIssuer now uses ZeroSSL API instead of ACME * Fix go.mod * caddytls: Fix automation related to managers (fix #6060) * Fix typo (appease linter) * Fix HTTP validation with ZeroSSL API
Diffstat (limited to 'cmd')
-rwxr-xr-xcmd/caddy/setcap.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/cmd/caddy/setcap.sh b/cmd/caddy/setcap.sh
index ac5335c56..39aea2d60 100755
--- a/cmd/caddy/setcap.sh
+++ b/cmd/caddy/setcap.sh
@@ -1,13 +1,16 @@
#!/bin/sh
-# USAGE: go run -exec ./setcap.sh main.go <args...>
+# USAGE:
+# go run -exec ./setcap.sh main.go <args...>
#
# (Example: `go run -exec ./setcap.sh main.go run --config caddy.json`)
#
# For some reason this does not work on my Arch system, so if you find that's
-# the case, you can instead do: go build && ./setcap.sh ./caddy <args...>
-# but this will leave the ./caddy binary laying around.
+# the case, you can instead do:
+#
+# go build && ./setcap.sh ./caddy <args...>
#
+# but this will leave the ./caddy binary laying around.
#
sudo setcap cap_net_bind_service=+ep "$1"