From a98e1f2f7c37beaae3cc6ca68d061cfd6aba8d53 Mon Sep 17 00:00:00 2001 From: CharlieYu Date: Mon, 11 Jan 2021 22:20:14 +0800 Subject: [PATCH] It doesn't work properly without --cron --- Using-systemd-units-instead-of-cron.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Using-systemd-units-instead-of-cron.md b/Using-systemd-units-instead-of-cron.md index e250d09..6bbd107 100644 --- a/Using-systemd-units-instead-of-cron.md +++ b/Using-systemd-units-instead-of-cron.md @@ -9,7 +9,7 @@ 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 +ExecStart=/path/to/acme.sh --cron --home /path/to/acme.sh SuccessExitStatus=0 2 ```