Last active
December 30, 2015 11:09
-
-
Save mainyaa/7820917 to your computer and use it in GitHub Desktop.
jetty.sh for supervisord with newrelic.
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
cd /var/www/HOGE | |
NR_JAR=/var/www/HOGE/newrelic/newrelic.jar | |
export NR_JAR | |
MAVEN_OPTS="$JAVA_OPTS -javaagent:$NR_JAR" | |
export MAVEN_OPTS | |
killall $(which java) | |
mvn clean compile jetty:run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment