mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-16 13:22:08 +08:00
Updated Using systemd units instead of cron (markdown)
@@ -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:**
|
||||||
|
|||||||
Reference in New Issue
Block a user