Solr 4 config and post scripts
[lui-solr.git] / debian / masterkey-lui-solr4-master-tomcat6.postinst
diff --git a/debian/masterkey-lui-solr4-master-tomcat6.postinst b/debian/masterkey-lui-solr4-master-tomcat6.postinst
new file mode 100644 (file)
index 0000000..2658753
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+ln -sf /etc/masterkey/lui/lui-solr4-master.xml /etc/tomcat6/Catalina/localhost/lui-solr4.xml
+chown -R tomcat6:tomcat6 /var/lib/masterkey/lui/solr4/master