diff options
Diffstat (limited to 'net-analyzer/vnstat/files/vnstat-1.17-drop-root.patch')
-rw-r--r-- | net-analyzer/vnstat/files/vnstat-1.17-drop-root.patch | 15 |
1 files changed, 15 insertions, 0 deletions
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 |