-
-
Save smford22/a6cb9dc9df15e04a8a115dba3964a3ca to your computer and use it in GitHub Desktop.
init with binds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ln -vsf {{pkg.svc_config_path}}/conf_server.xml {{pkgPathFor "core/tomcat8"}}/tc/conf/server.xml | |
{{#if bind.database ~}} | |
{{pkgPathFor "core/mongo-tools"}}/bin/mongoimport --drop -d demo -c nationalparks --type json --jsonArray --file {{pkg.path}}/national-parks.json --host={{bind.database.first.sys.ip}} --port={{bind.database.first.cfg.port}} | |
{{/if ~}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment