summarylogtreecommitdiffstats
path: root/homegear-config.patch
blob: 41b73c5b50290f84873295cfcf9d84ada53124fa (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
diff --git a/misc/Config Directory/main.conf b/misc/Config Directory/main.conf
index 1227873..c1bd51c 100644
--- a/misc/Config Directory/main.conf	
+++ b/misc/Config Directory/main.conf	
@@ -2,10 +2,10 @@
 # See for more details: https://doc.homegear.eu/data/homegear/configuration.html#main-configuration-main-conf
 
 # Default: runAsUser = root
-# runAsUser = homegear
+runAsUser = homegear
 
 # Default: runAsGroup = root
-# runAsGroup = homegear
+runAsGroup = homegear
 
 # Set the debug log level
 # 0=none, 1=critical, 2=error, 3=warning, 4=info, 5=debug, >5=more debug information
@@ -36,7 +36,7 @@ workingDirectory = /var/lib/homegear
 
 # The socket files are placed into this directory. If socketPath is empty, the executable path is used.
 # Default: socketPath =
-socketPath = /var/run/homegear
+socketPath = /run/homegear
 
 # If dataPath is empty, the executable path is used.
 # Default: dataPath =
@@ -189,7 +189,7 @@ enableNodeBlue = true
 
 # Path where Node-BLUE is located.
 # Default: nodeBluePath = /var/lib/homegear/node-blue
-nodeBluePath = /var/lib/homegear/node-blue
+nodeBluePath = /usr/lib/homegear/node-blue
 
 # Default: nodeBluePathPermissions = 770
 # nodeBluePathPermissions = 770
@@ -202,7 +202,7 @@ nodeBluePath = /var/lib/homegear/node-blue
 
 # Path where flow data is stored.
 # Default: nodeBlueDataPath = /var/lib/homegear/node-blue/data
-nodeBlueDataPath = /var/lib/homegear/node-blue/data
+nodeBlueDataPath = /usr/lib/homegear/node-blue/data
 
 # Default: nodeBlueDataPathPermissions = 770
 # nodeBlueDataPathPermissions = 770
@@ -219,7 +219,7 @@ nodeBlueDebugOutput = true
 
 # Path where Admin UI is located.
 # Default: adminUiPath = /var/lib/homegear/admin-ui
-adminUiPath = /var/lib/homegear/admin-ui
+adminUiPath = /usr/lib/homegear/admin-ui
 
 # Default: adminUiPathPermissions = 770
 # adminUiPathPermissions = 770
@@ -232,7 +232,7 @@ adminUiPath = /var/lib/homegear/admin-ui
 
 # Path where UI is located.
 # Default: uiPath = /var/lib/homegear/ui
-uiPath = /var/lib/homegear/ui
+uiPath = /usr/lib/homegear/ui
 
 # Default: uiPathPermissions = 770
 # uiPathPermissions = 770
@@ -245,21 +245,21 @@ uiPath = /var/lib/homegear/ui
 
 # Path to the family modules.
 # Default: modulePath = /var/lib/homegear/modules
-modulePath = /var/lib/homegear/modules
+modulePath = /usr/lib/homegear/modules
 
 # Path to the directory with firmware updates
 # Default: firmwarePath = /usr/share/homegear/firmware
-firmwarePath = /usr/share/homegear/firmware
+firmwarePath = /var/lib/homegear/firmware
 
 # Path to a directory where Homegear can store temporary data
 # Default: tempPath = /var/lib/homegear/tmp
-tempPath = /var/lib/homegear/tmp
+tempPath = /tmp/homegear
 
 # If lockFilePath is empty, the executable path is used. If unset, "/var/lock" is used.
 # Default: lockFilePath = /var/lock
 # /var/run/ is not the correct path for lock files. But as /var/lock is not user-writeable
 # on some systems, we decided to move the lock files to /var/run/homegear.
-lockFilePath = /var/run/homegear
+lockFilePath = /run/homegear
 
 # If unset permissions are not set on start of Homegear.
 # Default: lockFilePathPermissions = 770