Mercurial > hg > soundsoftware-site
annotate extra/soundsoftware/scripted-deploy/vagrant/provision.d/050-webapp-db.sh @ 1586:d0d59d12db94 dockerise
Add some cron scripts, update
author | Chris Cannam |
---|---|
date | Wed, 16 Aug 2017 16:58:22 +0100 |
parents | ae8043b014c7 |
children |
rev | line source |
---|---|
Chris@1577 | 1 #!/bin/bash |
Chris@1577 | 2 |
Chris@1577 | 3 set -e |
Chris@1577 | 4 |
Chris@1577 | 5 if [ ! -f /var/www/code/config/database.yml ]; then |
Chris@1581 | 6 cp /var/www/code/extra/soundsoftware/scripted-deploy/config/database.yml.interpolated \ |
Chris@1577 | 7 /var/www/code/config/database.yml |
Chris@1577 | 8 fi |
Chris@1577 | 9 |