From 94cebe41f31c09fd152b05fedecb1bd085bd6943 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 24 Sep 2021 18:28:25 +0300 Subject: [PATCH] chore(ops/git-serving): Remove josh state from whitby backups 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 --- ops/modules/git-serving.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/ops/modules/git-serving.nix b/ops/modules/git-serving.nix index 309560614..6b8bef29b 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" ]; }; }