From 5acafe69a9267cf21b47853de0391b61c718afb4 Mon Sep 17 00:00:00 2001 From: Jason Date: Tue, 17 Oct 2017 02:29:38 +0900 Subject: [PATCH] Updated Using systemd units instead of cron (markdown) --- Using-systemd-units-instead-of-cron.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Using-systemd-units-instead-of-cron.md b/Using-systemd-units-instead-of-cron.md index 7a90b6d..1287645 100644 --- a/Using-systemd-units-instead-of-cron.md +++ b/Using-systemd-units-instead-of-cron.md @@ -9,6 +9,8 @@ After=network-online.target [Service] Type=oneshot ExecStart=/path/to/acme.sh +# acme.sh returns 2 when renewal is skipped (i.e. certs up to date) +SuccessExitStatus=0 2 ``` **2. Test that it works before creating the timer:**