summarylogtreecommitdiffstats
path: root/package.patch
blob: 21575ca9dffca9e110dde0f66691c26d3a10dc97 (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
diff --git a/etc/agent.cfg b/etc/agent.cfg
index f11fb49c7..edbb1851d 100644
--- a/etc/agent.cfg
+++ b/etc/agent.cfg
@@ -97,13 +97,13 @@ httpd-trust =
 #
 
 # Logger backend, either Stderr, File or Syslog (Stderr)
-logger = stderr
+logger = syslog
 # log file
 #logfile = /var/log/fusioninventory.log
 # maximum log file size, in MB
 #logfile-maxsize = 0
 # Syslog facility
-logfacility = LOG_USER
+logfacility = LOG_DAEMON
 # Use color in the console
 color = 0
 
@@ -133,5 +133,5 @@ debug = 0
 #   4. Package maintainers are encouraged to use this feature to avoid conflict
 #      during upgrades after configuration update
 #
-#include "conf.d/"
+include "conf.d/"
 #include "agent.local"
diff --git a/lib/FusionInventory/Agent/Version.pm b/lib/FusionInventory/Agent/Version.pm
index e027bd8a9..bf047ffa0 100644
--- a/lib/FusionInventory/Agent/Version.pm
+++ b/lib/FusionInventory/Agent/Version.pm
@@ -5,7 +5,7 @@ use warnings;
 
 our $VERSION = "2.5";
 our $PROVIDER = "FusionInventory";
-our $COMMENTS = [];
+our $COMMENTS = [ "Arch Linux package from AUR" ];
 
 1;
 
diff --git a/lib/setup.pm b/lib/setup.pm
index 5d02f8500..e5499a2d1 100644
--- a/lib/setup.pm
+++ b/lib/setup.pm
@@ -11,9 +11,9 @@ use Cwd qw(abs_path);
 our @EXPORT = ('%setup');
 
 our %setup = (
-    datadir => './share',
-    libdir  => './lib',
-    vardir  => './var',
+    datadir => '/usr/share/fusioninventory',
+    libdir  => '/usr/share/fusioninventory/lib',
+    vardir  => '/var/lib/fusioninventory-agent',
 );
 
 # Compute directly libdir from this setup file as it should be installed