Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- set -e
- set -x
- source /home/paperless/.bash_profile
- export RAILS_ENV="mind"
- /usr/local/bin/rvm-shell 'default' -c '
- cd /var/app/paperless-mind/current && \
- rake db:dump_cms' &
- echo "exit status: $?"
- /usr/local/bin/rvm-shell 'default' -c '
- cd /var/app/paperless-mind/current && \
- rake db:dump_schema_plus_cms' &
- echo "exit status: $?"
- wait
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement