mirror of
https://github.com/klokantech/tileserver-php.git
synced 2025-10-22 02:06:25 +02:00
16 lines
378 B
Bash
16 lines
378 B
Bash
#!/bin/bash
|
|
echo "Starting tileserver-php container"
|
|
echo "---------------------------------"
|
|
file="/var/www/tileserver.php"
|
|
if [ -f "$file" ]
|
|
then
|
|
echo "$file found in the volume."
|
|
else
|
|
echo "Copying tileserver.php into volume..."
|
|
cp /tileserver-php-master/* /tileserver-php-master/.* /var/www/
|
|
fi
|
|
echo
|
|
echo "Apache logs:"
|
|
echo
|
|
/usr/sbin/apache2ctl -e info -D FOREGROUND
|