summaryrefslogtreecommitdiff
path: root/net-analyzer/vnstat/files/vnstat-1.17-drop-root.patch
blob: c0446c3b3410dfcdb090251c859a613b42c11c16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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