chore(lego): add README, extract systemd user pattern into defaults

This commit is contained in:
2024-08-01 18:55:23 +02:00
parent 4837172f64
commit 04b5837fd8
3 changed files with 46 additions and 2 deletions

View File

@ -4,8 +4,8 @@ Description=Run lego (letsencrypt client in go)
[Service]
Type=oneshot
EnvironmentFile={{ lego_base_path }}/%i.conf
User=acme-%i
Group=acme-%i
User={{ lego_systemd_user }}
Group={{ lego_systemd_group }}
ExecStart={{ lego_base_path }}/run.sh
[Install]