Skip to content

Commit

Permalink
mastodon: set LimitNOFILE
Browse files Browse the repository at this point in the history
  • Loading branch information
f2k1de committed Jan 26, 2024
1 parent 10ed917 commit 24930da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/modules/services/web-apps/mastodon.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 24930da

Please sign in to comment.