diff --git a/Using-systemd-units-instead-of-cron.md b/Using-systemd-units-instead-of-cron.md index 1287645..e3982c9 100644 --- a/Using-systemd-units-instead-of-cron.md +++ b/Using-systemd-units-instead-of-cron.md @@ -8,6 +8,8 @@ After=network-online.target [Service] Type=oneshot +# Directory where the acme.sh script resides. +Environment="HOME=/" ExecStart=/path/to/acme.sh # acme.sh returns 2 when renewal is skipped (i.e. certs up to date) SuccessExitStatus=0 2