Updated Using systemd units instead of cron (markdown)

Jason
2017-10-17 02:29:38 +09:00
parent f5644e98f9
commit 5acafe69a9

@@ -9,6 +9,8 @@ After=network-online.target
[Service]
Type=oneshot
ExecStart=/path/to/acme.sh <your acme.sh arguments here>
# 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:**