17 lines
441 B
Bash
Executable file
17 lines
441 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -xe
|
|
|
|
echo "ServerName ${APP_DOMAIN}" > /etc/apache2/conf-available/servername.conf
|
|
a2enconf servername
|
|
|
|
pixelfed 'rsync -rog storage-default/* storage/'
|
|
pixelfed 'php artisan config:cache'
|
|
pixelfed 'php artisan horizon:install'
|
|
pixelfed 'php artisan horizon:assets'
|
|
pixelfed 'php artisan route:cache'
|
|
pixelfed 'php artisan view:cache'
|
|
pixelfed 'php artisan media:optimize'
|
|
pixelfed 'php artisan optimize'
|
|
|
|
exec "$@"
|