diff options
author | Vincent Ambo <mail@tazj.in> | 2023-10-01T11·17+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-10-01T14·26+0000 |
commit | ac94bf46a62d32066f47c88b965f98cb2b01fe5e (patch) | |
tree | a87fdab5e69b0c6c4b1dc5c68106f785187b6220 /users/tazjin/nixos/modules/geesefs.nix | |
parent | c941ccb42b99d2686b4b573c8cb7a16a17e87b49 (diff) |
fix(tazjin/koptevo): minor reliability fixes for music setup r/6683
* zramSwap: during reindexing, geesefs can be pushed to the boundaries of what the new overaggressive OOM killer accepts, and I don't want to bother configuring that thing instead. * umount: geesefs dying unexpectedly leaves broken mounts around, clean these up before proceeding This bakes in the assumption that there's only ever one geesefs service, but that assumption is baked in anyways. Change-Id: Id85c2f5bc2312a7246ea20229eb36d2cc1bd82c0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9500 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/nixos/modules/geesefs.nix')
-rw-r--r-- | users/tazjin/nixos/modules/geesefs.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/users/tazjin/nixos/modules/geesefs.nix b/users/tazjin/nixos/modules/geesefs.nix index 1d4273f7fc59..c45ee528f6a2 100644 --- a/users/tazjin/nixos/modules/geesefs.nix +++ b/users/tazjin/nixos/modules/geesefs.nix @@ -19,6 +19,7 @@ Restart = "always"; LoadCredential = "geesefs-tazjins-files:/run/agenix/geesefs-tazjins-files"; StateDirectory = "geesefs"; + ExecStartPre = "/run/wrappers/bin/umount -a -t fuse.geesefs"; }; script = '' |