Title: [opsview] [12321] Removed changes to only require root myself password on new installs
- Revision
- 12321
- Author
- hstevenson
- Date
- 2013-05-22 10:35:41 +0100 (Wed, 22 May 2013)
Log Message
Removed changes to only require root myself password on new installs
Modified Paths
Modified: trunk/opsview-core/debian/postinst
===================================================================
--- trunk/opsview-core/debian/postinst 2013-05-22 08:59:46 UTC (rev 12320)
+++ trunk/opsview-core/debian/postinst 2013-05-22 09:35:41 UTC (rev 12321)
@@ -106,8 +106,8 @@
db_unregister opsview-core/db_rootpass
if [ $opsview_upgrade -eq 1 ]; then
+ 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'
- su - nagios -c '/usr/local/nagios/bin/populate_db.pl'
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