From 9a4c9ee49477bc5f1a17d9ba34a69becad15cbab Mon Sep 17 00:00:00 2001 From: Riley Avron Date: Sun, 6 Sep 2020 09:20:17 -0700 Subject: [PATCH] Use --home instead of HOME=, to reduce confusion --- Using-systemd-units-instead-of-cron.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Using-systemd-units-instead-of-cron.md b/Using-systemd-units-instead-of-cron.md index dce7364..275a2af 100644 --- a/Using-systemd-units-instead-of-cron.md +++ b/Using-systemd-units-instead-of-cron.md @@ -8,9 +8,8 @@ After=network-online.target [Service] Type=oneshot -# Directory where the acme.sh script resides. -Environment="HOME=/path/to/" -ExecStart=/path/to/acme.sh +# --home's argument should be where the acme.sh script resides. +ExecStart=/path/to/acme.sh --home /path/to # acme.sh returns 2 when renewal is skipped (i.e. certs up to date) SuccessExitStatus=0 2 ```