Updated Using systemd units instead of cron (markdown)
parent
b5b6bd206c
commit
b8712a60b8
|
@ -9,7 +9,7 @@ After=network-online.target
|
|||
[Service]
|
||||
Type=oneshot
|
||||
# Directory where the acme.sh script resides.
|
||||
Environment="HOME=/"
|
||||
Environment="HOME=/path/to/"
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue