From d48c3ce4e526a605065e09f3a4ef4d674db6084b Mon Sep 17 00:00:00 2001 From: Nick Date: Tue, 2 Dec 2025 17:19:49 -0600 Subject: [PATCH] feat: added elastic search script to mastodon --- modules/nixos/guests/mastodon/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/nixos/guests/mastodon/default.nix b/modules/nixos/guests/mastodon/default.nix index 74f2cd7..24f0428 100755 --- a/modules/nixos/guests/mastodon/default.nix +++ b/modules/nixos/guests/mastodon/default.nix @@ -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 ''; };