blob: 806ecbe390e20c6c9ed6d38364c3ae5927fc9d73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
diff -ura openhab2.orig/runtime/bin/oh2_dir_layout openhab2.new/runtime/bin/oh2_dir_layout
--- openhab2.orig/runtime/bin/oh2_dir_layout 2017-06-27 23:14:06.000000000 +0200
+++ openhab2.new/runtime/bin/oh2_dir_layout 2017-07-01 14:54:58.966716130 +0200
@@ -6,7 +6,7 @@
export OPENHAB_HOME=`cd "$DIRNAME/../.."; pwd`
if [ -z ${OPENHAB_CONF} ]; then
- export OPENHAB_CONF="${OPENHAB_HOME}/conf"
+ export OPENHAB_CONF="/etc/openhab2"
fi
if [ -z ${OPENHAB_RUNTIME} ]; then
@@ -14,11 +14,11 @@
fi
if [ -z ${OPENHAB_USERDATA} ]; then
- export OPENHAB_USERDATA="${OPENHAB_HOME}/userdata"
+ export OPENHAB_USERDATA="/var/lib/openhab2"
fi
if [ -z ${OPENHAB_LOGDIR} ]; then
- export OPENHAB_LOGDIR="${OPENHAB_USERDATA}/logs"
+ export OPENHAB_LOGDIR="/var/log/openhab2"
fi
# Make sure the tmp folder exists as Karaf requires it
|