aboutsummaryrefslogtreecommitdiff
path: root/src/main/unix
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 /src/main/unix
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.
Diffstat (limited to 'src/main/unix')
-rwxr-xr-xsrc/main/unix/files/root/etc/app.conf1
-rwxr-xr-x[-rw-r--r--]src/main/unix/files/scripts/postinstall2
2 files changed, 2 insertions, 1 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