From 9656df37e15b22894143a76d8d96f61ac4d974d5 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 22 Feb 2016 14:10:36 +0000 Subject: Add command to sync fuzzy storage It should be as simple as `rspamadm control fuzzy_sync` Issue: #533 Reported by: @moisseev --- src/rspamadm/control.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/rspamadm') diff --git a/src/rspamadm/control.c b/src/rspamadm/control.c index e69a7fe00..de6e48346 100644 --- a/src/rspamadm/control.c +++ b/src/rspamadm/control.c @@ -201,6 +201,10 @@ rspamadm_control (gint argc, gchar **argv) g_ascii_strcasecmp (cmd, "fuzzy_stat") == 0) { path = "/fuzzystat"; } + else if (g_ascii_strcasecmp (cmd, "fuzzysync") == 0 || + g_ascii_strcasecmp (cmd, "fuzzy_sync") == 0) { + path = "/fuzzysync"; + } else { rspamd_fprintf (stderr, "unknown command: %s\n", cmd); exit (1); -- cgit v1.2.3