postinst/rm files for Solr4
[lui-solr.git] / debian / masterkey-lui-solr4-slave-tomcat6.postinst
diff --git a/debian/masterkey-lui-solr4-slave-tomcat6.postinst b/debian/masterkey-lui-solr4-slave-tomcat6.postinst
new file mode 100644 (file)
index 0000000..a647647
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+ln -sf /etc/masterkey/lui/lui-solr-slave.xml /etc/tomcat6/Catalina/localhost/solr-slave.xml
+chown -R tomcat6:tomcat6 /var/lib/masterkey/lui/solr/slave