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
bf57fefa3e
commit
d48c3ce4e5
1 changed files with 2 additions and 2 deletions
|
|
@ -270,7 +270,7 @@ in
|
|||
mastodon-sidekiq-mailers.serviceConfig.PrivateMounts = lib.mkForce false;
|
||||
mastodon-sidekiq-push-pull.serviceConfig.PrivateMounts = lib.mkForce false;
|
||||
|
||||
systemd.services.mastodon-elastic-search = {
|
||||
mastodon-elastic-search = {
|
||||
description = "Recache elastic search";
|
||||
after = [
|
||||
"network-online.target"
|
||||
|
|
@ -282,7 +282,7 @@ in
|
|||
Type = "oneshot";
|
||||
};
|
||||
script = ''
|
||||
/run/current-system/sw/bin/mastodon-tootctl search deploy --only-mapping --only=instances accounts tags statuses public_statuses
|
||||
/run/current-system/sw/bin/mastodon-tootctl search deploy --only=instances accounts tags statuses public_statuses
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue