diff options
author | Isa <hi@f2k1.de> | 2024-01-26 12:30:57 +0100 |
---|---|---|
committer | Isa <hi@f2k1.de> | 2024-01-26 12:30:57 +0100 |
commit | 24930dadca021613f2a20a0fcdd656e5be371749 (patch) | |
tree | c46bf01c4fb58ba9bb669c5ff010b8b972a330d9 /nixos/modules | |
parent | 10ed9173c50c3825077879887714c3aed10e141f (diff) |
mastodon: set LimitNOFILE
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/web-apps/mastodon.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/web-apps/mastodon.nix b/nixos/modules/services/web-apps/mastodon.nix index 538e728fcc72f..8d09d1b978283 100644 --- a/nixos/modules/services/web-apps/mastodon.nix +++ b/nixos/modules/services/web-apps/mastodon.nix @@ -133,6 +133,7 @@ let RestartSec = 20; EnvironmentFile = [ "/var/lib/mastodon/.secrets_env" ] ++ cfg.extraEnvFiles; WorkingDirectory = cfg.package; + LimitNOFILE = "1024000"; # System Call Filtering SystemCallFilter = [ ("~" + lib.concatStringsSep " " systemCallsList) "@chown" "pipe" "pipe2" ]; } // cfgService; |