about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-09-24T15·28+0300
committertazjin <mail@tazj.in>2021-09-24T16·14+0000
commit94cebe41f31c09fd152b05fedecb1bd085bd6943 (patch)
treef6ec726bb8ab3c7218d30329c43d97a15a124332
parent289de14fc43f5387a497e35d2e306ee5d5b16f1a (diff)
chore(ops/git-serving): Remove josh state from whitby backups r/2914
As cschilling explained on cl/3563, there isn't actually anything in
this state that we *need* to persist. We're still keeping it in a
persistent directory on disk as this serves as an optimisation after
restarts of josh.

Change-Id: Ia88886792a5acac34508b5b8a669bd519ca033de
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3631
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
-rw-r--r--ops/modules/git-serving.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/ops/modules/git-serving.nix b/ops/modules/git-serving.nix
index 309560614308..6b8bef29b15a 100644
--- a/ops/modules/git-serving.nix
+++ b/ops/modules/git-serving.nix
@@ -49,7 +49,5 @@ in {
         ExecStart = "${depot.third_party.josh}/bin/josh-proxy --no-background --local /var/lib/josh --port ${toString cfg.joshPort} --remote https://cl.tvl.fyi/";
       };
     };
-
-    services.depot.restic.paths = [ "/var/lib/josh" ];
   };
 }