summaryrefslogtreecommitdiff
path: root/net-analyzer/vnstat/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-13 21:03:07 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-13 21:03:07 +0100
commit8fbd420dce8836e6503b162092e07b6a77a89f1d (patch)
tree071c621ef44d7c1b24a430ac7671d68963b5a4cf /net-analyzer/vnstat/files
parent12d78242dec4f785d0a0bfb1c00eee2d8996c53b (diff)
gentoo resync : 13.10.2017
Diffstat (limited to 'net-analyzer/vnstat/files')
-rw-r--r--net-analyzer/vnstat/files/vnstat-1.17-conf.patch15
-rw-r--r--net-analyzer/vnstat/files/vnstat-1.17-run.patch11
2 files changed, 26 insertions, 0 deletions
diff --git a/net-analyzer/vnstat/files/vnstat-1.17-conf.patch b/net-analyzer/vnstat/files/vnstat-1.17-conf.patch
new file mode 100644
index 000000000000..b939e7c04351
--- /dev/null
+++ b/net-analyzer/vnstat/files/vnstat-1.17-conf.patch
@@ -0,0 +1,15 @@
+--- a/cfg/vnstat.conf.JeR
++++ b/cfg/vnstat.conf
+@@ -115,10 +115,10 @@
+ UpdateFileOwner 1
+
+ # file used for logging if UseLogging is set to 1
+-LogFile "/var/log/vnstat/vnstat.log"
++LogFile "/var/log/vnstat/vnstatd.log"
+
+ # file used as daemon pid / lock file
+-PidFile "/var/run/vnstat/vnstat.pid"
++PidFile "/run/vnstat/vnstatd/vnstatd.pid"
+
+
+ # vnstati
diff --git a/net-analyzer/vnstat/files/vnstat-1.17-run.patch b/net-analyzer/vnstat/files/vnstat-1.17-run.patch
new file mode 100644
index 000000000000..e3b514d0c6b6
--- /dev/null
+++ b/net-analyzer/vnstat/files/vnstat-1.17-run.patch
@@ -0,0 +1,11 @@
+--- a/src/common.h.JeR
++++ b/src/common.h
+@@ -198,7 +198,7 @@
+ #define CREATEDIRS 1
+ #define UPDATEFILEOWNER 1
+ #define LOGFILE "/var/log/vnstat/vnstat.log"
+-#define PIDFILE "/var/run/vnstat/vnstat.pid"
++#define PIDFILE "/run/vnstat/vnstat.pid"
+
+ /* no transparency by default */
+ #define TRANSBG 0