ports/net/librenms/patches/patch-config_php_default

33 lines
1.2 KiB
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: config.php.default
--- config.php.default.orig
+++ config.php.default
@@ -4,7 +4,7 @@
// This is the user LibreNMS will run as
//Please ensure this user is created and has the correct permissions to your install
-#$config['user'] = 'librenms';
+$config['user'] = '_librenms';
### This should *only* be set if you want to *force* a particular hostname/port
### It will prevent the web interface being usable form any other hostname
@@ -12,7 +12,7 @@
### Enable this to use rrdcached. Be sure rrd_dir is within the rrdcached dir
### and that your web server has permission to talk to rrdcached.
-#$config['rrdcached'] = "unix:/var/run/rrdcached.sock";
+#$config['rrdcached'] = "unix:/var/run/rrd/rrdcached.sock";
### Default community
#$config['snmp']['community'] = array('public');
@@ -26,8 +26,8 @@
#$config['nets'][] = "172.16.0.0/12";
#$config['nets'][] = "192.168.0.0/16";
-# Uncomment the next line to disable daily updates
-#$config['update'] = 0;
+# Adjust the next line to enable daily updates (interferes with package management)
+$config['update'] = 0;
# Number in days of how long to keep old rrd files. 0 disables this feature
#$config['rrd_purge'] = 0;