diff options
Diffstat (limited to 'net-analyzer/vnstat/files')
-rw-r--r-- | net-analyzer/vnstat/files/vnstat-1.17-conf.patch | 15 | ||||
-rw-r--r-- | net-analyzer/vnstat/files/vnstat-1.17-run.patch | 11 |
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 |