Changeset View
Changeset View
Standalone View
Standalone View
net-mgmt/librenms/files/patch-html_install.php
--- 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 | +++ 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 | // This is the user LibreNMS will run as | ||||
//Please ensure this user is created and has the correct permissions to your install | //Please ensure this user is created and has the correct permissions to your install | ||||
-\$config['user'] = 'librenms'; | -\$config['user'] = 'librenms'; | ||||
+\$config['user'] = 'www'; | +\$config['user'] = 'www'; | ||||
### Memcached config - We use this to store realtime usage | ### Locations - it is recommended to keep the default | ||||
\$config\['memcached'\]\['enable'\] = FALSE; | #\$config\['install_dir'\] = "$install_dir"; | ||||
@@ -395,7 +395,7 @@ $config_file = <<<"EOD" | @@ -383,8 +383,8 @@ $config_file = <<<"EOD" | ||||
#\$config\['nets'\]\[\] = "192.168.0.0/16"; | #\$config\['nets'\]\[\] = "192.168.0.0/16"; | ||||
# Uncomment the next line to disable daily updates | # Update configuration | ||||
-#\$config\['update'\] = 0; | -#\$config\['update_channel'\] = 'release'; # uncomment to follow the monthly release channel | ||||
+\$config\['update'\] = 0; | -#\$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; | EOD; | ||||
if (!file_exists("../config.php")) { | if (!file_exists("../config.php")) { |