Add cap_net_bind capabilities to systemd unit and ensure correct permissions #8

Manually merged
jadyn merged 2 commits from jadyn/finallycoffee.base:main into main 2024-09-12 06:01:58 +00:00
Showing only changes of commit 5f4fbd492c - Show all commits

View File

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