mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-06 21:17:14 -06:00
feat: added elastic search script to mastodon
This commit is contained in:
parent
cc35c13e2d
commit
bf57fefa3e
1 changed files with 2 additions and 2 deletions
|
|
@ -270,7 +270,7 @@ in
|
||||||
mastodon-sidekiq-mailers.serviceConfig.PrivateMounts = lib.mkForce false;
|
mastodon-sidekiq-mailers.serviceConfig.PrivateMounts = lib.mkForce false;
|
||||||
mastodon-sidekiq-push-pull.serviceConfig.PrivateMounts = lib.mkForce false;
|
mastodon-sidekiq-push-pull.serviceConfig.PrivateMounts = lib.mkForce false;
|
||||||
|
|
||||||
mastodon-elastic-search = {
|
systemd.services.mastodon-elastic-search = {
|
||||||
description = "Recache elastic search";
|
description = "Recache elastic search";
|
||||||
after = [
|
after = [
|
||||||
"network-online.target"
|
"network-online.target"
|
||||||
|
|
@ -282,7 +282,7 @@ in
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
};
|
};
|
||||||
script = ''
|
script = ''
|
||||||
${pkgs.mastodon}/bin/mastodon-tootctl search deploy --only-mapping --only=instances accounts tags statuses public_statuses
|
/run/current-system/sw/bin/mastodon-tootctl search deploy --only-mapping --only=instances accounts tags statuses public_statuses
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue