Advertisement
dcuddihy-acr-me

syncbox upgrade bbconfig

Sep 22nd, 2014
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. #
  2. # Syncbox bbconfig Upgrade Ticket
  3. #
  4. set -e
  5. set -x
  6.  
  7. echo "Starting: " $(date)
  8. export TERM=xterm
  9.  
  10. # Deploys new version of bbconfig
  11. pushd /home/eroboto/hgdev/org.bitbucket/autonomy/${BBCONFIG_REPO}
  12. sudo -u eroboto hg pull
  13. sudo -u eroboto hg up -r ${BBCONFIG_TAG}
  14. make opt-bbconfig
  15. make opt-meacr
  16. cp /opt/bbconfig/current/opt/etc/me.acr/ginger/nobody/crontab-syncbox /etc/crontab
  17. chown root /etc/crontab
  18. chmod 644 /etc/crontab
  19. popd
  20.  
  21. echo "Done: " $(date)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement