You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by to...@apache.org on 2014/09/21 01:08:20 UTC

git commit: Moved from /tmp to /mnt to survive restart

Repository: incubator-usergrid
Updated Branches:
  refs/heads/two-dot-o cf7dd1154 -> d65bd3a95


Moved from /tmp to /mnt to survive restart


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/d65bd3a9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/d65bd3a9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/d65bd3a9

Branch: refs/heads/two-dot-o
Commit: d65bd3a95105bd75079b795a6e0989f3fa087699
Parents: cf7dd11
Author: Todd Nine <to...@apache.org>
Authored: Sat Sep 20 17:08:08 2014 -0600
Committer: Todd Nine <to...@apache.org>
Committed: Sat Sep 20 17:08:08 2014 -0600

----------------------------------------------------------------------
 .../src/main/dist/init_instance/install_yourkit.sh           | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/d65bd3a9/stack/awscluster/src/main/dist/init_instance/install_yourkit.sh
----------------------------------------------------------------------
diff --git a/stack/awscluster/src/main/dist/init_instance/install_yourkit.sh b/stack/awscluster/src/main/dist/init_instance/install_yourkit.sh
index 44afe82..3812612 100644
--- a/stack/awscluster/src/main/dist/init_instance/install_yourkit.sh
+++ b/stack/awscluster/src/main/dist/init_instance/install_yourkit.sh
@@ -23,17 +23,17 @@
 
 if [[ $YOURKIT = "true" ]]; then
 
-mkdir -p /tmp/yourkit
-cd /tmp/yourkit
+mkdir -p /mnt/yourkit
+cd /mnt/yourkit
 s3cmd --config=/etc/s3cfg get s3://${RELEASE_BUCKET}/yjp-2014-build-14104.zip
-unzip /tmp/yourkit/yjp-2014-build-14104.zip
+unzip /mnt/yourkit/yjp-2014-build-14104.zip
 
 mkdir -p /mnt/yourkitreports
 
 chown -R tomcat7.tomcat7 /mnt/yourkitreports
 
 cat >> /etc/default/tomcat7 << EOF
-JAVA_OPTS="${JAVA_OPTS} -agentpath:/tmp/yourkit/yjp-2014-build-14104/bin/linux-x86-64/libyjpagent.so=port=10001,logdir=/mnt/yourkitreports,dir=/mnt/yourkitreports,onexit=snapshot"
+JAVA_OPTS="${JAVA_OPTS} -agentpath:/mnt/yourkit/yjp-2014-build-14104/bin/linux-x86-64/libyjpagent.so=port=10001,logdir=/mnt/yourkitreports,dir=/mnt/yourkitreports,onexit=snapshot"
 EOF
 
 fi