Updated Using systemd units instead of cron (markdown)

neil 2020-10-21 09:25:57 +08:00
parent cffed5474c
commit e8e7232e7f
1 changed files with 2 additions and 2 deletions

@ -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 <your acme.sh arguments here>
# 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
```