Advertisement
dcuddihy-acr-me

kewr.acr.lan.issues.175

Aug 4th, 2014
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. #
  2. # [Issue 175](https://bitbucket.org/autonomy/kewr.acr.lan/issue/175)
  3. #
  4. set -x
  5.  
  6. echo "Started: " $(date)
  7.  
  8. source /etc/portion.env
  9. source /etc/profile.d/runtime-context.sh
  10.  
  11. echo $RUNTIME_CONTEXT
  12. echo $PYTHONPATH
  13. export PATH=$PATH:/opt/bbthyme/current/bin
  14. export TERM=xterm
  15.  
  16. # bbdill installation leaves many folder owned by root.
  17. sudo chown -R eroboto /opt/var
  18.  
  19. # Expose /opt/var via http
  20. sudo ln -s /opt/var /var/www/opt-var
  21.  
  22. # Rerun citi publisher
  23. su eroboto -c '. /etc/profile.d/runtime-context.sh; . /etc/portion.env; /opt/bbginger/current/bin/publish-run --name "com.citivelocity.charting.v2"'
  24.  
  25. echo "Finished: " $(date)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement