Skip to content

Commit

Permalink
Get rid of /run/akkoma/cookie bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ifd3f committed Jul 18, 2023
1 parent f812c4b commit 276f9ab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion nix/nixos-modules/roles/akkoma/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,11 @@ in {

# It seems to be running out of FDs.
# By default it's 1024, which is a bit too small.
systemd.services.akkoma.serviceConfig.LimitNOFILE = 262144;
systemd.services.akkoma.serviceConfig = {
LimitNOFILE = 262144;
# /run/akkoma/cookie issue?
BindReadOnlyPaths = [ "/run/akkoma:/run/akkoma" ];
};

systemd.services.akkoma-config = {
requires = [ "akkoma-secrets.service" "akkoma_b2-secrets.service" ];
Expand Down

0 comments on commit 276f9ab

Please sign in to comment.