9 lines
283 B
Desktop File
9 lines
283 B
Desktop File
[Unit]
|
|
Description=Renew odacm.cn production certificate
|
|
After=network-online.target nginx.service
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/certbot renew --cert-name odacm.cn --quiet --deploy-hook "/usr/sbin/nginx -t && /usr/bin/systemctl reload nginx"
|