Added updating of sql database when daily updates are run. Also added a small doc showing how to manually update

This commit is contained in:
laf
2014-03-29 20:06:26 +00:00
parent 3c96731136
commit 20beb5ec34
2 changed files with 13 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
if [ $(php daily.php -f update) -eq 1 ]; then
git pull --no-edit --quiet
php includes/sql-schema/update.php
fi
php daily.php -f syslog

12
doc/UPDATING.md Normal file
View File

@@ -0,0 +1,12 @@
## Updating your install ##
LibreNMS by default performs updates on a daily basis. This can be disabled by ensuring:
$config['update'] = 0;
Is no longer commented out. If you would like to perform a manual update then you can do this by running the following commands:
git pull --no-edit --quiet
php includes/sql-schema/update.php
This will update both the core LibreNMS files but also update the database structure if updates are available.