and host controllers
'''
-__author__="Alfonso Tierno"
-__date__ ="$10-jul-2014 12:07:15$"
-__version__="0.5.3-r520"
-version_date="Jan 2017"
-database_version="0.10" #expected database schema version
+__author__ = "Alfonso Tierno"
+__date__ = "$10-jul-2014 12:07:15$"
+__version__ = "0.5.6-r523"
+version_date = "Feb 2017"
+database_version = "0.13" #expected database schema version
import httpserver
import auxiliary_functions as af
engine = None
+ http_thread = None
+ http_thread_admin = None
+
try:
#Load configuration file
r, config_dic = load_configuration(config_file)
logger.info('Exiting openvimd')
if engine:
engine.stop_service()
+ if http_thread:
+ http_thread.join(1)
+ if http_thread_admin:
+ http_thread_admin.join(1)
logger.debug( "bye!")
exit()