feat(lego): Add cap_net_bind capabilities to systemd unit

This commit is contained in:
Jadyn Emma Jäger 2024-09-09 13:14:35 +02:00
parent 96f5da9bf6
commit 5f4fbd492c
Signed by: jadyn
GPG Key ID: 632410170049FDDA

View File

@ -7,6 +7,7 @@ EnvironmentFile={{ lego_base_path }}/%i.conf
User={{ lego_systemd_user }}
Group={{ lego_systemd_group }}
ExecStart={{ lego_base_path }}/run.sh
AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install]
WantedBy=basic.target