From e8e7232e7fddf57cf1fa87ab39a5beb6235b999b Mon Sep 17 00:00:00 2001 From: neil Date: Wed, 21 Oct 2020 09:25:57 +0800 Subject: [PATCH] Updated Using systemd units instead of cron (markdown) --- Using-systemd-units-instead-of-cron.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Using-systemd-units-instead-of-cron.md b/Using-systemd-units-instead-of-cron.md index 0f1fef7..e250d09 100644 --- a/Using-systemd-units-instead-of-cron.md +++ b/Using-systemd-units-instead-of-cron.md @@ -9,8 +9,8 @@ After=network-online.target [Service] Type=oneshot # --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) +ExecStart=/path/to/acme.sh --home /path/to/acme.sh + SuccessExitStatus=0 2 ```