MonarcAppFO/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
chown -R www-data:www-data /var/www/continuousphp/current/*
bin/phing -propertyfile /var/lib/continuousphp/credentials.ini init