From 33f8923aff72abbfff0683163c50ce54a307012c Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Fri, 16 Jul 2021 16:52:13 -0400 Subject: [PATCH] Add note regarding resetting Exec* --- src/docs/markdown/service.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/markdown/service.md b/src/docs/markdown/service.md index 35c6e77..d6edd97 100644 --- a/src/docs/markdown/service.md +++ b/src/docs/markdown/service.md @@ -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" ``` -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 [Service] ExecStart=