diff --git a/src/docs/markdown/build.md b/src/docs/markdown/build.md index ecc8ef7..78429bf 100644 --- a/src/docs/markdown/build.md +++ b/src/docs/markdown/build.md @@ -85,6 +85,7 @@ Procedure: sudo mv ./caddy /usr/bin/caddy.custom sudo update-alternatives --install /usr/bin/caddy caddy /usr/bin/caddy.default 10 sudo update-alternatives --install /usr/bin/caddy caddy /usr/bin/caddy.custom 50 +sudo systemctl restart caddy @@ -92,6 +93,8 @@ Procedure: `update-alternatives` will create a symlink from the desired caddy binary to `/usr/bin/caddy` +`systemctl restart caddy` will shut down the default version of the Caddy server and start the custom one. + You can change between the custom and default `caddy` binaries by executing
update-alternatives --config caddy
-and following the on screen information. +and following the on screen information, then restarting the Caddy service.