Use --home instead of HOME=, to reduce confusion
parent
c28372d1b9
commit
9a4c9ee494
|
@ -8,9 +8,8 @@ After=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
# Directory where the acme.sh script resides.
|
# --home's argument should be where the acme.sh script resides.
|
||||||
Environment="HOME=/path/to/"
|
ExecStart=/path/to/acme.sh --home /path/to <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
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue