1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-13 17:17:23 +01:00

Adapted MIAB Solr install script from https://github.com/jkaberg/ for Ubuntu Bionic

This commit is contained in:
Jeff Volkenant
2019-01-16 10:21:19 -08:00
parent c7659d9053
commit a3d7e0dfae
3 changed files with 66 additions and 0 deletions

1
conf/cronjob/dovecot Normal file
View File

@@ -0,0 +1 @@
/usr/bin/doveadm fts rescan -A

2
conf/cronjob/solr Normal file
View File

@@ -0,0 +1,2 @@
*/1 * * * * root /usr/bin/curl http://127.0.0.1:8080/solr/update?commit=true &>/dev/null
30 3 * * * root /usr/bin/curl http://127.0.0.1:8080/solr/update?optimize=true &>/dev/null