2024-05-19 20:40:43 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Run lego (letsencrypt client in go)
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
EnvironmentFile={{ lego_base_path }}/%i.conf
|
2024-08-01 18:55:23 +02:00
|
|
|
User={{ lego_systemd_user }}
|
|
|
|
Group={{ lego_systemd_group }}
|
2024-05-19 20:40:43 +02:00
|
|
|
ExecStart={{ lego_base_path }}/run.sh
|
2024-09-09 13:14:35 +02:00
|
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
2024-05-19 20:40:43 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=basic.target
|
|
|
|
DefaultInstance=default
|