From 4e9d5b5a447144c910c2698975157ee296e2eac8 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 11 Jan 2013 09:21:00 +0100 Subject: o Improved postinstall, don't loose logs/ on every installation. --- src/main/unix/files/root/etc/app.conf | 1 + src/main/unix/files/scripts/postinstall | 2 +- src/test/java/io/trygvis/esper/testing/web/WebRunner.java | 2 -- 3 files changed, 2 insertions(+), 3 deletions(-) create mode 100755 src/main/unix/files/root/etc/app.conf mode change 100644 => 100755 src/main/unix/files/scripts/postinstall mode change 100644 => 100755 src/test/java/io/trygvis/esper/testing/web/WebRunner.java (limited to 'src') 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 old mode 100644 new mode 100755 index 8699bd0..a0314dc --- 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 old mode 100644 new mode 100755 index 60644de..b809cee --- 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 { -- cgit v1.2.3