mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-25 02:29:32 +02:00
7 lines
174 B
Bash
7 lines
174 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
if [[ "${SKIP_SOLR}" =~ ^([yY][eE][sS]|[yY])+$ && ! "${FLATCURVE_EXPERIMENTAL}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
|
||
|
exit 0
|
||
|
else
|
||
|
doveadm fts optimize -A
|
||
|
fi
|