Updated Using systemd units instead of cron (markdown)
parent
cffed5474c
commit
e8e7232e7f
|
@ -9,8 +9,8 @@ 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 <your acme.sh arguments here>
|
ExecStart=/path/to/acme.sh --home /path/to/acme.sh
|
||||||
# acme.sh returns 2 when renewal is skipped (i.e. certs up to date)
|
|
||||||
SuccessExitStatus=0 2
|
SuccessExitStatus=0 2
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue