mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-24 11:15:56 +00:00
14 lines
208 B
Bash
Executable File
14 lines
208 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
env
|
|
|
|
if [[ -n "$1" ]]; then
|
|
exec "$@"
|
|
else
|
|
wait-for-it db:3306 -t 45
|
|
php artisan migrate --database=mysql
|
|
chown -R www-data:www-data storage
|
|
exec apache2-foreground
|
|
fi |