It doesn't work properly without --cron

master
CharlieYu 2021-01-11 22:20:14 +08:00
parent 664db51a77
commit a98e1f2f7c
1 changed files with 1 additions and 1 deletions

@ -9,7 +9,7 @@ After=network-online.target
[Service] [Service]
Type=oneshot Type=oneshot
# --home's argument should be where the acme.sh script resides. # --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 SuccessExitStatus=0 2
``` ```