Skip to content

Commit

Permalink
Merge pull request #610 from ESGF/apache_start_fix
Browse files Browse the repository at this point in the history
Do not start apache until end of installer or via start flag
  • Loading branch information
William-Hill authored Oct 4, 2018
2 parents 838bf8d + 2171b9f commit d46f2c7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 0 additions & 1 deletion base/esg_apache_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ def main():
install_mod_wsgi()
make_python_eggs_dir()
copy_apache_conf_files()
start_apache()


if __name__ == '__main__':
Expand Down
4 changes: 3 additions & 1 deletion esg_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,10 @@ def system_launch(esg_dist_url, node_type_list, script_version, script_release):
esg_functions.update_fileupload_jar()
esg_functions.setup_whitelist_files()

esg_cli_argument_manager.start(node_type_list)
esg_cli_argument_manager.run_startup_hooks(node_type_list)
esg_cert_manager.check_for_commercial_ca()
esg_cli_argument_manager.start(node_type_list)

install_bash_completion_file(esg_dist_url)
done_remark(node_type_list)
write_script_version_file(script_version)
Expand Down
8 changes: 4 additions & 4 deletions esgf_utilities/esg_cli_argument_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ def run_startup_hooks(node_type_list):
esg_property_manager.set_property("node_auto_fetch_certs", "true")

if esg_property_manager.get_property("node_auto_fetch_certs") == "true":
print "Fetching federation certificates... "
esg_truststore_manager.fetch_esgf_certificates()
print "Fetching federation certificates... "
esg_truststore_manager.fetch_esgf_certificates()

print "Fetching federation truststore..... "
esg_truststore_manager.fetch_esgf_truststore()
print "Fetching federation truststore..... "
esg_truststore_manager.fetch_esgf_truststore()

def start(node_types):
'''Start ESGF Services'''
Expand Down

0 comments on commit d46f2c7

Please sign in to comment.