Updated Using systemd units instead of cron (markdown)

master
Jason 2017-10-17 02:29:38 +09:00
parent f5644e98f9
commit 5acafe69a9
1 changed files with 2 additions and 0 deletions

@ -9,6 +9,8 @@ After=network-online.target
[Service] [Service]
Type=oneshot Type=oneshot
ExecStart=/path/to/acme.sh <your acme.sh arguments here> 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:** **2. Test that it works before creating the timer:**