Skip to content

community/caddy: add --force to 'reload' init.d function

Forza requested to merge forza/aports:caddy-reload into master

Added a --force option to the reload function of the Caddy init.d script. Without this, Caddy won't reload updated TLS certificates from disk.

The manual says

--force will cause a reload to happen even if the specified config is the same as what Caddy is already running. Can be useful to force Caddy to reprovision its modules, which can have side-effects, for example: reloading manually-loaded TLS certificates.

Note: In Gentoo Linux, the reload always include --force.

Merge request reports