From 9f59c056b86ed8ff1974fa7e195f6144be3392d4 Mon Sep 17 00:00:00 2001 From: John Supplee Date: Sat, 20 Apr 2019 13:18:54 +0200 Subject: [PATCH] go back to tomcat9.service.d --- setup/solr.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/solr.sh b/setup/solr.sh index 128dd42f..05e64433 100644 --- a/setup/solr.sh +++ b/setup/solr.sh @@ -58,7 +58,8 @@ hide_output install -m 644 conf/cronjob/solr /etc/cron.d/ chown -R mail:dovecot /etc/dovecot chmod -R o-rwx /etc/dovecot -cat > /etc/systemd/system/tomcat9.d/solr-permissions.conf << EOF +mkdir -p /etc/systemd/system/tomcat9.service.d +cat > /etc/systemd/system/tomcat9.service.d/solr-permissions.conf << EOF [Service] ReadWritePaths=/var/lib/solr/ ReadWritePaths=/var/lib/solr/data/