Date: Thu, 12 Oct 2023 02:38:54 GMT From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 528ac9e77df4 - main - www/caddy: Add reloadssl rc(8) command Message-ID: <202310120238.39C2cspT006753@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by adamw: URL: https://cgit.FreeBSD.org/ports/commit/?id=528ac9e77df40d5e8bf424b8a1255be4d2986ec9 commit 528ac9e77df40d5e8bf424b8a1255be4d2986ec9 Author: Tom MTT <tom@heimdall.pm> AuthorDate: 2023-10-12 02:18:43 +0000 Commit: Adam Weinberger <adamw@FreeBSD.org> CommitDate: 2023-10-12 02:38:40 +0000 www/caddy: Add reloadssl rc(8) command `service caddy reloadssl` instructs Caddy to reload its TLS certificates. This is useful when using Caddy with ACME DNS providers, as it allows for the renewal of certificates without manually deleting the old ones and restarting Caddy. PR: 274085 --- www/caddy/files/caddy.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/caddy/files/caddy.in b/www/caddy/files/caddy.in index 17724715ae5c..8e46cd93aae9 100644 --- a/www/caddy/files/caddy.in +++ b/www/caddy/files/caddy.in @@ -70,9 +70,10 @@ else fi # Extra Commands -extra_commands="configtest reload" +extra_commands="configtest reload reloadssl" configtest_cmd="caddy_execute validate ${caddy_flags}" reload_cmd="caddy_execute reload ${caddy_flags}" +reloadssl_cmd="caddy_execute reload --force ${caddy_flags}" caddy_execute() {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310120238.39C2cspT006753>