diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2021-03-28 19:34:02 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2021-03-28 19:34:02 +0000 |
commit | e2718638e3e2bf9021403f50f60a217c01ee0b5e (patch) | |
tree | 24da456a875244de912f270de85c10018ee49fce /UPDATING | |
parent | bf9adc9fdac34ac17be27ce305424ab9c4e48355 (diff) |
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.
Notes
Notes:
svn path=/head/; revision=569408
Diffstat (limited to 'UPDATING')
-rw-r--r-- | UPDATING | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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 |