mirror of
https://github.com/caddyserver/website.git
synced 2025-05-07 12:17:15 -04:00
Add note regarding resetting Exec*
This commit is contained in:
parent
37d274d8a6
commit
33f8923aff
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ For example, if you need to define environment variables for use in your config,
|
||||||
Environment="CF_API_TOKEN=super-secret-cloudflare-tokenvalue"
|
Environment="CF_API_TOKEN=super-secret-cloudflare-tokenvalue"
|
||||||
```
|
```
|
||||||
|
|
||||||
Or, for example if you need to change the config file from the default of the Caddyfile, to instead using a JSON file:
|
Or, for example if you need to change the config file from the default of the Caddyfile, to instead using a JSON file (note that `Exec*` directives [must be reset with empty strings](https://www.freedesktop.org/software/systemd/man/systemd.service.html#ExecStart=) before setting a new value):
|
||||||
```systemd
|
```systemd
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=
|
ExecStart=
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue