2
0
mirror of https://github.com/acmesh-official/acme.sh synced 2025-08-30 05:48:04 +00:00

Updated Using systemd units instead of cron (markdown)

greencopper 2018-01-08 20:17:01 +01:00
parent b5b6bd206c
commit b8712a60b8

@ -9,7 +9,7 @@ After=network-online.target
[Service] [Service]
Type=oneshot Type=oneshot
# Directory where the acme.sh script resides. # Directory where the acme.sh script resides.
Environment="HOME=/" Environment="HOME=/path/to/"
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) # acme.sh returns 2 when renewal is skipped (i.e. certs up to date)
SuccessExitStatus=0 2 SuccessExitStatus=0 2