Created
November 19, 2014 16:56
-
-
Save aVolpe/c76c22a5ddbe253f747d to your computer and use it in GitHub Desktop.
This file contains 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 | |
ps -eF | grep jboss | grep server | tr -s " " | cut -d " " -f2 | xargs kill -9 | |
su - jboss -c 'nohup sh /opt/jboss/bin/standalone.sh -b 0.0.0.0 -bmanagement 0.0.0.0' & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment