1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-25 07:47:05 +00:00

updated for tomcat9 and systemctl permission override

This commit is contained in:
Jeff Volkenant 2019-04-18 09:29:42 -07:00
parent 173aece6cd
commit 9386b4280c

View File

@ -58,8 +58,14 @@ hide_output install -m 644 conf/cronjob/solr /etc/cron.d/
chown -R mail:dovecot /etc/dovecot chown -R mail:dovecot /etc/dovecot
chmod -R o-rwx /etc/dovecot chmod -R o-rwx /etc/dovecot
cat > /etc/systemd/system/tomcat9.service.d/solr-permissions.conf << EOF
[Service]
ReadWritePaths=/var/lib/solr/
ReadWritePaths=/var/lib/solr/data/
EOF
# Restart services to reload solr schema & dovecot plugins # Restart services to reload solr schema & dovecot plugins
restart_service tomcat8 restart_service tomcat9
restart_service dovecot restart_service dovecot