mirror of
https://github.com/caddyserver/website.git
synced 2025-04-21 20:46:15 -04:00
docs: Emphasize the storage locations when running with systemd
This commit is contained in:
parent
e253d8efc9
commit
79521041e8
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue