Skip to content

Commit

Permalink
Trying to fix hanging analyze deployment.
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelkiessling committed Nov 2, 2016
1 parent 46aa5db commit 6be5fa7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build/10-deploy-production
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ cp api/target/universal/api-1.0-SNAPSHOT.tgz /opt/journeymonitor/analyze/
cd /opt/journeymonitor/analyze/
/bin/tar xvfz api-1.0-SNAPSHOT.tgz

# TODO: This doesn't seem to give control back to the script, making the deployment hang
/bin/su -s /bin/bash -c ". /etc/journeymonitor/app-analyze-env.sh && /usr/bin/nohup /bin/bash /opt/journeymonitor/analyze/api-1.0-SNAPSHOT/bin/api >> /var/tmp/journeymonitor-analyze-api.log 2>&1 &" journeymonitor || exit 1
/bin/su -s /bin/bash -c ". /etc/journeymonitor/app-analyze-env.sh && /usr/bin/nohup /bin/bash /opt/journeymonitor/analyze/api-1.0-SNAPSHOT/bin/api >> /var/tmp/journeymonitor-analyze-api.log 2>&1 &" journeymonitor &

echo "Debug: Reached end of 10-deploy-production script"

0 comments on commit 6be5fa7

Please sign in to comment.