1
0
forked from finallycoffee/base
finallycoffee.base/roles/lego/templates/lego@.service.j2

14 lines
246 B
Plaintext
Raw Normal View History

2024-05-19 18:40:43 +00:00
[Unit]
Description=Run lego (letsencrypt client in go)
[Service]
Type=oneshot
EnvironmentFile={{ lego_base_path }}/%i.conf
User=acme-%i
Group=acme-%i
ExecStart={{ lego_base_path }}/run.sh
[Install]
WantedBy=basic.target
DefaultInstance=default