Skip to content

Commit

Permalink
fix: add CAP_NET_BIND_SERVICE to flake (#49)
Browse files Browse the repository at this point in the history
Add CAP_NET_BIND_SERVICE capability so leng can bind to port 53 while
the service is running as a dynamic user
  • Loading branch information
a-jackson authored Dec 30, 2023
1 parent e77af99 commit 0f54972
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
RestartSec = 2;
TasksMax = "infinity";
StateDirectory = "leng-sources";
AmbientCapabilities = "CAP_NET_BIND_SERVICE";
};

unitConfig = {
Expand Down

0 comments on commit 0f54972

Please sign in to comment.