MonarcAppBO/scripts/migrate.sh

10 lines
247 B
Bash
Executable File

#!/bin/bash
cd /var/www/continuousphp/current
while [ ! -f /var/lib/continuousphp/credentials.ini ]
do
sleep 2
done
bin/phing -propertyfile /var/lib/continuousphp/credentials.ini init
chown -R www-data:www-data /var/www/continuousphp/current/*