mastodon: remove stale lock files
This commit is contained in:
parent
9283f5058a
commit
457939d22d
|
@ -187,6 +187,7 @@
|
||||||
wants = [ "mastodon-web.service" ];
|
wants = [ "mastodon-web.service" ];
|
||||||
after = wants;
|
after = wants;
|
||||||
script = /* bash */ ''
|
script = /* bash */ ''
|
||||||
|
rm -f /var/lib/fedifetcher/lock.lock
|
||||||
${lib.getExe pkgs.fedifetcher} --config "${configFile}" --state-dir "/var/lib/fedifetcher/" \
|
${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/1".path})" \
|
||||||
--access-token "$(cat ${config.sops.secrets."fedifetcher/access-tokens/2".path})"
|
--access-token "$(cat ${config.sops.secrets."fedifetcher/access-tokens/2".path})"
|
||||||
|
|
Loading…
Reference in New Issue