Title: [opsview] [11818] Need to install opspacks before the populatedb process, so that new plugins --help are stored
- Revision
- 11818
- Author
- tvoon
- Date
- 2013-03-15 15:10:41 +0000 (Fri, 15 Mar 2013)
Log Message
Need to install opspacks before the populatedb process, so that new plugins --help are stored
Modified Paths
Modified: trunk/opsview-core/debian/postinst
===================================================================
--- trunk/opsview-core/debian/postinst 2013-03-15 14:45:07 UTC (rev 11817)
+++ trunk/opsview-core/debian/postinst 2013-03-15 15:10:41 UTC (rev 11818)
@@ -109,8 +109,8 @@
db_unregister opsview-core/db_rootpass
if [ $opsview_upgrade -eq 1 ]; then
+ su - nagios -c '/usr/local/nagios/bin/install_all_opspacks --dir /usr/local/nagios/import/opspacks'
su - nagios -c '/usr/local/nagios/bin/populate_db.pl'
- su - nagios -c '/usr/local/nagios/bin/install_all_opspacks --dir /usr/local/nagios/import/opspacks'
fi
# NOSTART so Debian will startup daemon itself
_______________________________________________
Opsview-checkins mailing list
Opsview-checkins@lists.opsview.org
http://lists.opsview.org/lists/listinfo/opsview-checkins