From e2718638e3e2bf9021403f50f60a217c01ee0b5e Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Sun, 28 Mar 2021 19:34:02 +0000 Subject: www/caddy: Change all caddy runtime locations Thanks to work by scf, the caddy rc(8) script has been completely rewritten and substantially improved, though this necessitated changing all runtime locations. Most importantly: - The runtime log now lives in /var/log/caddy/ instead of /var/log, so that the logdir can be null-mounted - Automatic SSL certs are now stored in /var/db/caddy/data/caddy, instead of /root/.local/share/caddy Caddy uses freedesktop.org's XDG base dir specification, which conflicts quite spectacularly with FreeBSD's hier(7). The most sensible thing to do was to put the runtime data stores into /var/db/caddy, though XDG needs XDG_DATA_HOME and XDG_CONFIG_HOME to be separate dirs and caddy will create a .../caddy subdir in each of them. --- UPDATING | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'UPDATING') diff --git a/UPDATING b/UPDATING index 14fd9dc36cf5..29d74b585e01 100644 --- a/UPDATING +++ b/UPDATING @@ -5,6 +5,24 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20210328: + AFFECTS: users of www/caddy + AUTHOR: adamw@FreeBSD.org + + The default locations for caddy runtime files have changed. + + - Caddy's runtime log is now /var/log/caddy/caddy.log + (was /var/log/caddy.log) + + - Automatic SSL certs are now stored in /var/db/caddy/data/caddy + (was /root/.local/share/caddy) + + - Configuration autosaves are now stored in /var/db/caddy/config/caddy + (was /root/.config/caddy) + + You can change these defaults. See /usr/local/etc/rc.d/caddy for the + list of settings. + 20210322: AFFECTS: users of net/wireguard AUTHOR: decke@FreeBSD.org -- cgit v1.2.3