feat: add finallycoffee.base.lego role

This commit is contained in:
2024-05-19 20:40:43 +02:00
parent eab7b7e915
commit 960d95a924
7 changed files with 269 additions and 0 deletions

View File

@ -0,0 +1,13 @@
[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