Small fixes in tests

This commit is contained in:
pierreozoux 2015-01-12 23:19:53 +01:00
parent 70e1a4742a
commit a82a1961d4
2 changed files with 2 additions and 1 deletions

View file

@ -3,7 +3,7 @@
image=$1
if [ "$image" == "wordpress" ] || [ "$image" == "known" ]; then
systemctl stop lamp@$image.test
sleep 15
sleep 11
else
systemctl stop $image@$image.test
fi

View file

@ -10,6 +10,7 @@ cp /data/indiehosters/scripts/unsecure-certs/example.dev.pem /data/import/$image
echo "APPLICATION=$image" > /data/import/$image.test/.env
if [ "$image" == "wordpress" ] || [ "$image" == "known" ]; then
echo "VOLUME=$(cat /data/indiehosters/dockerfiles/services/$image/VOLUME)" >> /data/import/$image.test/.env
echo "EMAIL=test@test.org" >> /data/import/$image.test/.env
fi
# start image from import