summaryrefslogtreecommitdiff
path: root/net-mgmt/librenms/files/patch-html_install.php
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2018-09-01 19:02:13 +0000
committerDan Langille <dvl@FreeBSD.org>2018-09-01 19:02:13 +0000
commitfc812000767ea2edc2d6896f09d31920a0bfd1ab (patch)
treef808f82725286f318768fa8a471cf52028704817 /net-mgmt/librenms/files/patch-html_install.php
parentscience/nwchem: Add build-time python dependency (diff)
Upgrade to 1.42.01
Approved by: maintainer (via private email) Differential Revision: https://reviews.freebsd.org/D16942
Notes
Notes: svn path=/head/; revision=478715
Diffstat (limited to 'net-mgmt/librenms/files/patch-html_install.php')
-rw-r--r--net-mgmt/librenms/files/patch-html_install.php18
1 files changed, 10 insertions, 8 deletions
diff --git a/net-mgmt/librenms/files/patch-html_install.php b/net-mgmt/librenms/files/patch-html_install.php
index 9973465e2a32..f87bf965497c 100644
--- a/net-mgmt/librenms/files/patch-html_install.php
+++ b/net-mgmt/librenms/files/patch-html_install.php
@@ -1,20 +1,22 @@
---- html/install.php.orig 2017-12-31 20:48:36 UTC
+--- html/install.php.orig 2018-08-04 20:07:12 UTC
+++ html/install.php
-@@ -364,7 +364,7 @@ $config_file = <<<"EOD"
+@@ -357,7 +357,7 @@ $config_file = <<<"EOD"
// 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'] = 'www';
- ### Memcached config - We use this to store realtime usage
- \$config\['memcached'\]\['enable'\] = FALSE;
-@@ -395,7 +395,7 @@ $config_file = <<<"EOD"
+ ### Locations - it is recommended to keep the default
+ #\$config\['install_dir'\] = "$install_dir";
+@@ -383,8 +383,8 @@ $config_file = <<<"EOD"
#\$config\['nets'\]\[\] = "192.168.0.0/16";
- # Uncomment the next line to disable daily updates
--#\$config\['update'\] = 0;
-+\$config\['update'\] = 0;
+ # Update configuration
+-#\$config\['update_channel'\] = 'release'; # uncomment to follow the monthly release channel
+-#\$config\['update'\] = 0; # uncomment to completely disable updates
++\$config\['update_channel'\] = 'release'; # uncomment to follow the monthly release channel
++\$config\['update'\] = 0; # uncomment to completely disable updates
EOD;
if (!file_exists("../config.php")) {