aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-01-11 09:21:00 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-01-11 09:21:00 +0100
commit4e9d5b5a447144c910c2698975157ee296e2eac8 (patch)
tree37d9015d6e3ef9f4f7f193343b638d0d4246f213
parent09d297a383b60cfdba6b6388cc54c9c8fa603e75 (diff)
downloadesper-testing-4e9d5b5a447144c910c2698975157ee296e2eac8.tar.gz
esper-testing-4e9d5b5a447144c910c2698975157ee296e2eac8.tar.bz2
esper-testing-4e9d5b5a447144c910c2698975157ee296e2eac8.tar.xz
esper-testing-4e9d5b5a447144c910c2698975157ee296e2eac8.zip
o Improved postinstall, don't loose logs/ on every installation.
-rwxr-xr-xsrc/main/unix/files/root/etc/app.conf1
-rwxr-xr-x[-rw-r--r--]src/main/unix/files/scripts/postinstall2
-rwxr-xr-x[-rw-r--r--]src/test/java/io/trygvis/esper/testing/web/WebRunner.java2
3 files changed, 2 insertions, 3 deletions
diff --git a/src/main/unix/files/root/etc/app.conf b/src/main/unix/files/root/etc/app.conf
new file mode 100755
index 0000000..9050c9d
--- /dev/null
+++ b/src/main/unix/files/root/etc/app.conf
@@ -0,0 +1 @@
+app.method=bin/method
diff --git a/src/main/unix/files/scripts/postinstall b/src/main/unix/files/scripts/postinstall
index 8699bd0..a0314dc 100644..100755
--- a/src/main/unix/files/scripts/postinstall
+++ b/src/main/unix/files/scripts/postinstall
@@ -1,6 +1,6 @@
#!/bin/bash
-ln -s ../../../etc
+ln -s ../../../../etc/config.properties etc/config.properties
if [ ! -d ../../../logs ]
then
diff --git a/src/test/java/io/trygvis/esper/testing/web/WebRunner.java b/src/test/java/io/trygvis/esper/testing/web/WebRunner.java
index 60644de..b809cee 100644..100755
--- a/src/test/java/io/trygvis/esper/testing/web/WebRunner.java
+++ b/src/test/java/io/trygvis/esper/testing/web/WebRunner.java
@@ -2,8 +2,6 @@ package io.trygvis.esper.testing.web;
import io.trygvis.appsh.booter.jetty.*;
import io.trygvis.esper.testing.*;
-import org.slf4j.bridge.*;
-
import java.io.*;
public class WebRunner {