postinst/rm files for Solr4
[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..9b4ba0a
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+ln -sf /etc/masterkey/lui/lui-solr-master.xml /etc/tomcat6/Catalina/localhost/solr.xml
+chown -R tomcat6:tomcat6 /var/lib/masterkey/lui/solr/master