You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/vnstat/files/vnstat-1.17-drop-root.patch

16 lines
359 B

--- 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