From 457939d22d496480de022584cc747b3bffefdac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 8 Mar 2024 21:47:13 +0100 Subject: [PATCH] mastodon: remove stale lock files --- hosts/mastodon/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/mastodon/default.nix b/hosts/mastodon/default.nix index e9ced6b3..f430b09d 100644 --- a/hosts/mastodon/default.nix +++ b/hosts/mastodon/default.nix @@ -187,6 +187,7 @@ wants = [ "mastodon-web.service" ]; after = wants; script = /* bash */ '' + rm -f /var/lib/fedifetcher/lock.lock ${lib.getExe pkgs.fedifetcher} --config "${configFile}" --state-dir "/var/lib/fedifetcher/" \ --access-token "$(cat ${config.sops.secrets."fedifetcher/access-tokens/1".path})" \ --access-token "$(cat ${config.sops.secrets."fedifetcher/access-tokens/2".path})"