12 lines
241 B
SYSTEMD
12 lines
241 B
SYSTEMD
|
[Unit]
|
||
|
Description=Certbot
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=certbot renew -w /var/lib/letsencrypt/ --preferred-chain "ISRG Root X1"
|
||
|
ExecStartPost=/usr/bin/systemctl reload openresty
|
||
|
KillMode=process
|
||
|
Type=oneshot
|
||
|
RemainAfterExit=no
|
||
|
User=root
|
||
|
Group=root
|