mastodon: remove stale lock files

This commit is contained in:
Sandro - 2024-03-08 21:47:13 +01:00
parent 9283f5058a
commit 457939d22d
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 1 additions and 0 deletions

View File

@ -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})"