configpolicy/roles/lego/files/lego-renew.service

11 lines
213 B
INI

[Unit]
Description=Renew certificates with LEGO
Wants=network-online.target
After=network-online.target
After=httpd.service nginx.service
[Service]
Type=oneshot
User=lego
ExecStart=/bin/sh /var/lib/lego/renew.sh