From 0fdd4074ff3dc0c507a9867380a4f91250a0b610 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 15 Oct 2017 02:11:33 +0100 Subject: gentoo resync : 15.10.2017 --- net-analyzer/vnstat/files/vnstat-1.17-drop-root.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 net-analyzer/vnstat/files/vnstat-1.17-drop-root.patch (limited to 'net-analyzer/vnstat/files/vnstat-1.17-drop-root.patch') 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 -- cgit v1.2.3