MonarcAppFO/scripts/migrate.sh

10 lines
247 B
Bash
Raw Normal View History

2016-10-06 13:29:55 +02:00
#!/bin/bash
cd /var/www/continuousphp/current
while [ ! -f /var/lib/continuousphp/credentials.ini ]
do
sleep 2
done
2016-10-06 15:26:47 +02:00
chown -R www-data:www-data /var/www/continuousphp/current/*
bin/phing -propertyfile /var/lib/continuousphp/credentials.ini init