openwrt_archive/admin/gkrellmd/patches/100-conf.patch

41 lines
1.2 KiB
Diff

Index: gkrellm-2.3.1/server/gkrellmd.conf
===================================================================
--- gkrellm-2.3.1.orig/server/gkrellmd.conf 2008-03-09 10:19:26.000000000 +0100
+++ gkrellm-2.3.1/server/gkrellmd.conf 2008-03-09 10:19:26.000000000 +0100
@@ -4,7 +4,7 @@
# the client update frequency. Values may be from 1 to 10 and should be
# smaller values to reduce network traffic.
#
-update-hz 3
+update-hz 10
# Limit number of simultaneous clients allowed to connect.
#
@@ -13,7 +13,7 @@
# Specify a specific network interface to listen on for connections.
# By default gkrellmd listens on all available network interfaces.
#
-address 127.0.0.1
+#address 127.0.0.1
# Specify the port to listen on for connections.
#
@@ -29,14 +29,14 @@
# Drop privileges after startup (you must start gkrellmd as root to do it).
#
-#user nobody
+user nobody
#group proc
# Create a PID file for the running gkrellmd. Default is no PID file.
-#pidfile /var/run/gkrellmd.pid
+pidfile /var/run/gkrellmd.pid
# Run in background and detach from the controlling terminal
-#detach
+detach
# Time interval between checks for various monitors. If nfs-interval
# is <= 0 then gkrellmd will not read data for nfs file system types.