mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
Fix ReadWriteDirectories for fail2ban, added /var/tmp.
This commit is contained in:
parent
5a2390327d
commit
96be2d5a7d
@ -117,7 +117,7 @@ in
|
||||
serviceConfig =
|
||||
{ ExecStart = "${pkgs.fail2ban}/bin/fail2ban-server -f";
|
||||
ReadOnlyDirectories = "/";
|
||||
ReadWriteDirectories = "/var/run/fail2ban";
|
||||
ReadWriteDirectories = "/var/run/fail2ban /var/tmp";
|
||||
CapabilityBoundingSet="CAP_DAC_READ_SEARCH CAP_NET_ADMIN CAP_NET_RAW";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user