Merge pull request #71576 from ShaRose/patch-1
nixos/dnsdist: Add CAP_NET_BIND_SERVICE to AmbientCapabilities
This commit is contained in:
commit
3022fde292
@ -46,11 +46,10 @@ in {
|
|||||||
RestartSec="1";
|
RestartSec="1";
|
||||||
DynamicUser = true;
|
DynamicUser = true;
|
||||||
StartLimitInterval="0";
|
StartLimitInterval="0";
|
||||||
PrivateTmp=true;
|
|
||||||
PrivateDevices=true;
|
PrivateDevices=true;
|
||||||
CapabilityBoundingSet="CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID";
|
AmbientCapabilities="CAP_NET_BIND_SERVICE";
|
||||||
|
CapabilityBoundingSet="CAP_NET_BIND_SERVICE";
|
||||||
ExecStart = "${pkgs.dnsdist}/bin/dnsdist --supervised --disable-syslog --config ${configFile}";
|
ExecStart = "${pkgs.dnsdist}/bin/dnsdist --supervised --disable-syslog --config ${configFile}";
|
||||||
ProtectSystem="full";
|
|
||||||
ProtectHome=true;
|
ProtectHome=true;
|
||||||
RestrictAddressFamilies="AF_UNIX AF_INET AF_INET6";
|
RestrictAddressFamilies="AF_UNIX AF_INET AF_INET6";
|
||||||
LimitNOFILE="16384";
|
LimitNOFILE="16384";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user