Add note regarding resetting Exec*

This commit is contained in:
Francis Lavoie 2021-07-16 16:52:13 -04:00
parent 37d274d8a6
commit 33f8923aff
No known key found for this signature in database
GPG key ID: E73DB3ECE64E7885

View file

@ -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=