diff options
Diffstat (limited to 'net-analyzer/vnstat/files')
-rw-r--r-- | net-analyzer/vnstat/files/vnstat-1.17-conf.patch | 2 | ||||
-rw-r--r-- | net-analyzer/vnstat/files/vnstat-1.17-drop-root.patch | 15 | ||||
-rw-r--r-- | net-analyzer/vnstat/files/vnstat-1.17-run.patch | 2 |
3 files changed, 17 insertions, 2 deletions
diff --git a/net-analyzer/vnstat/files/vnstat-1.17-conf.patch b/net-analyzer/vnstat/files/vnstat-1.17-conf.patch index b939e7c04351..5bcbdafb2a74 100644 --- a/net-analyzer/vnstat/files/vnstat-1.17-conf.patch +++ b/net-analyzer/vnstat/files/vnstat-1.17-conf.patch @@ -1,4 +1,4 @@ ---- a/cfg/vnstat.conf.JeR +--- a/cfg/vnstat.conf +++ b/cfg/vnstat.conf @@ -115,10 +115,10 @@ UpdateFileOwner 1 diff --git a/net-analyzer/vnstat/files/vnstat-1.17-drop-root.patch b/net-analyzer/vnstat/files/vnstat-1.17-drop-root.patch new file mode 100644 index 000000000000..c0446c3b3410 --- /dev/null +++ b/net-analyzer/vnstat/files/vnstat-1.17-drop-root.patch @@ -0,0 +1,15 @@ +--- a/cfg/vnstat.conf ++++ b/cfg/vnstat.conf +@@ -81,10 +81,10 @@ + ## + + # switch to given user when started as root (leave empty to disable) +-DaemonUser "" ++DaemonUser "vnstat" + + # switch to given user when started as root (leave empty to disable) +-DaemonGroup "" ++DaemonGroup "vnstat" + + # how often (in seconds) interface data is updated + UpdateInterval 30 diff --git a/net-analyzer/vnstat/files/vnstat-1.17-run.patch b/net-analyzer/vnstat/files/vnstat-1.17-run.patch index e3b514d0c6b6..4afe449ceed3 100644 --- a/net-analyzer/vnstat/files/vnstat-1.17-run.patch +++ b/net-analyzer/vnstat/files/vnstat-1.17-run.patch @@ -1,4 +1,4 @@ ---- a/src/common.h.JeR +--- a/src/common.h +++ b/src/common.h @@ -198,7 +198,7 @@ #define CREATEDIRS 1 |