mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-25 07:47:05 +00:00
optimize solr cron and log
This commit is contained in:
parent
4aaee13c1c
commit
ef5b536f43
@ -1,2 +1,2 @@
|
|||||||
*/1 * * * * root /usr/bin/curl -s http://127.0.0.1:8080/solr/update?commit=true >/dev/null 2>&1
|
* 1 * * * root /usr/bin/curl -s http://127.0.0.1:8080/solr/update?commit=true >/dev/null 2>&1
|
||||||
30 3 * * * root /usr/bin/curl -s http://127.0.0.1:8080/solr/update?optimize=true >/dev/null 2>&1
|
30 3 * * * root /usr/bin/curl -s http://127.0.0.1:8080/solr/update?optimize=true >/dev/null 2>&1
|
||||||
|
@ -93,7 +93,9 @@ cat > /etc/rsyslog.d/10-jetty9.conf <<EOF
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Also adjust logrotated to the new file and correct user
|
# Also adjust logrotated to the new file and correct user
|
||||||
cat > /etc/logrotate.d/jetty9.conf <<EOF
|
rm -f /etc/logrotate.d/jetty9
|
||||||
|
|
||||||
|
cat > /etc/logrotate.d/jetty9 <<EOF
|
||||||
/var/log/jetty-console.log {
|
/var/log/jetty-console.log {
|
||||||
copytruncate
|
copytruncate
|
||||||
weekly
|
weekly
|
||||||
|
Loading…
Reference in New Issue
Block a user