#!/bin/sh echo " --------------------------------------------- _____ _ _ | |___ ___| |_ ___ _| |___ ___ | | | | .'|_ -| _| . | . | . | | |_|_|_|__,|___|_| |___|___|___|_|_| A GNU Social-compatible microblogging server https://github.com/tootsuite/mastodon --------------------------------------------- UID/GID settings --------------------------------------------- User ID : ${UID} Group ID : ${GID} --------------------------------------------- Logs location --------------------------------------------- Sidekiq : /mastodon/log/sidekiq.log Streaming : /mastodon/log/streaming.log Web : /mastodon/log/web.log --------------------------------------------- " if [ "$RUN_DB_MIGRATIONS" == "true" ]; then echo "Running database migrations task..." bundle exec rake db:migrate fi echo "Executing process(es)..." if [ '$@' == '' ]; then exec /bin/s6-svscan /etc/s6.d else exec "$@" fi