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
|
2024-08-01 16:55:23 +00:00
|
|
|
User={{ lego_systemd_user }}
|
|
|
|
Group={{ lego_systemd_group }}
|
2024-05-19 18:40:43 +00:00
|
|
|
ExecStart={{ lego_base_path }}/run.sh
|
2024-09-09 11:14:35 +00:00
|
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
2024-05-19 18:40:43 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=basic.target
|
|
|
|
DefaultInstance=default
|