Also update stats on running netdisco-deploy
This commit is contained in:
6
Changes
6
Changes
@@ -1,3 +1,9 @@
|
||||
2.037000 - 2017-12-14
|
||||
|
||||
[ENHANCEMENTS]
|
||||
|
||||
* Also update stats on running netdisco-deploy
|
||||
|
||||
2.037000 - 2017-12-14
|
||||
|
||||
[NEW FEATURES]
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user