doveadm fts rescan clears the indices, we don't want that

This commit is contained in:
KiekerJan 2021-05-30 21:11:47 +02:00
parent c25bb085d6
commit a24c01973f
2 changed files with 1 additions and 2 deletions

View File

@ -1,3 +1,2 @@
#!/bin/bash
/usr/bin/doveadm fts rescan -A > /dev/null 2>&1
/usr/bin/doveadm fts optimize -A > /dev/null 2>&1

View File

@ -82,5 +82,5 @@ doveadm fts rescan -A
# * `-q`: Queues the indexing to be run by indexer process. (will background the indexing)
# * `-A`: All users
# * `'*'`: All folders
doveadm index -q -A '*'
doveadm index -A -q \*