Skip to content

Instantly share code, notes, and snippets.

@rterp
Created May 9, 2016 21:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rterp/c59817fc0ab65bf99e8a419c7056cd6a to your computer and use it in GitHub Desktop.
Save rterp/c59817fc0ab65bf99e8a419c7056cd6a to your computer and use it in GitHub Desktop.
!/bin/sh
FILENAME=$1
PATH=$PATH:/usr/local/java/bin
cd /usr/local/wildfly/bin
./jboss-cli.sh -c --user=myUser --password=myPassword --command="deploy $FILENAME"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment