docs: Emphasize the storage locations when running with systemd

This commit is contained in:
Francis Lavoie 2021-11-20 00:06:38 -05:00
parent e253d8efc9
commit 79521041e8
No known key found for this signature in database
GPG key ID: E73DB3ECE64E7885

View file

@ -60,6 +60,10 @@ You can stop the service with:
Do not stop the service to change Caddy's configuration. Stopping the server will incur downtime. Use the reload command instead.
</aside>
The Caddy process will run as the `caddy` user, which has its `$HOME` set to `/var/lib/caddy`. This means that:
- The default [data storage location](/docs/conventions#data-directory) (for certificates and other state information) will be in `/var/lib/caddy/.local/share/caddy`.
- The default [config storage location](/docs/conventions#configuration-directory) (for the auto-saved JSON config, primarily useful for the `caddy-api` service) will be in `/var/lib/caddy/.config/caddy`.
### Manual Installation