Created
August 25, 2015 07:23
-
-
Save jonmcewen/9ee8b9bd42a71b958e89 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/sh | |
cd "`dirname "$0"`" | |
jmxOpts="-Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.password.file=config/jmxremote.password" | |
nohup java $jmxOpts -Djava.security.egd=file:/dev/./urandom -jar my-app-1.0.0.jar 1>/dev/null 2>stderr.log & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment