Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # [Issue 175](https://bitbucket.org/autonomy/kewr.acr.lan/issue/175)
- #
- set -x
- echo "Started: " $(date)
- source /etc/portion.env
- source /etc/profile.d/runtime-context.sh
- echo $RUNTIME_CONTEXT
- echo $PYTHONPATH
- export PATH=$PATH:/opt/bbthyme/current/bin
- export TERM=xterm
- # bbdill installation leaves many folder owned by root.
- sudo chown -R eroboto /opt/var
- # Expose /opt/var via http
- sudo ln -s /opt/var /var/www/opt-var
- # Rerun citi publisher
- su eroboto -c '. /etc/profile.d/runtime-context.sh; . /etc/portion.env; /opt/bbginger/current/bin/publish-run --name "com.citivelocity.charting.v2"'
- echo "Finished: " $(date)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement