Also update stats on running netdisco-deploy

This commit is contained in:
Oliver Gorwits
2017-12-14 21:56:21 +00:00
parent fe574183e5
commit 242148acdb
3 changed files with 12 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
2.037000 - 2017-12-14
[ENHANCEMENTS]
* Also update stats on running netdisco-deploy
2.037000 - 2017-12-14
[NEW FEATURES]

View File

@@ -139,6 +139,11 @@ sub deploy_db {
say 'DB schema update complete.';
print color 'reset';
system 'netdisco-do stats >/dev/null 2>&1';
print color 'bold blue';
say 'Statistics updated.';
print color 'reset';
if (not setting('safe_password_store')) {
say '';
print color 'bold red';

View File

@@ -219,13 +219,11 @@ Then the process below should be run for each installation:
# apply database schema updates, update MIBs and Vendor MACs
~/bin/netdisco-deploy
~/bin/netdisco-do stats
# restart web service (if you run it)
~/bin/netdisco-web restart
# stop old daemon and start new backend worker (wherever you run them)
~/bin/netdisco-daemon stop
# restart the backend workers (wherever you run them)
~/bin/netdisco-backend restart
=head1 Tips and Tricks