Updated Using systemd units instead of cron (markdown)
parent
f5644e98f9
commit
5acafe69a9
|
@ -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:**
|
||||||
|
|
Loading…
Reference in New Issue