change tomcat path to solr-slave
[lui-solr.git] / debian / masterkey-lui-solr-slave-tomcat6.postinst
index 30dbc16..a647647 100644 (file)
@@ -1,4 +1,3 @@
 #!/bin/sh
-# alien added permissions fixup code
-ln -sf /etc/masterkey/lui/lui-solr-slave.xml /etc/tomcat6/Catalina/localhost/lui-solr.xml
-
+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