Comment formatting and spacing
This commit is contained in:
parent
d3ada7142c
commit
3cec66b847
10
abra.sh
10
abra.sh
@ -9,7 +9,8 @@ sub_rake() {
|
||||
|
||||
# shellcheck disable=SC2034
|
||||
abra__service_="streaming"
|
||||
# Using streaming for rake since it is the least likely to flap
|
||||
|
||||
# Using streaming for rake since it is the least likely to flap
|
||||
sub_app_run bundle exec rake "$@"
|
||||
}
|
||||
|
||||
@ -18,18 +19,21 @@ sub_tootctl() {
|
||||
export SECRET_KEY_BASE=$(cat /run/secrets/secret_key_base)
|
||||
export DB_PASS=$(cat /run/secrets/db_password)
|
||||
|
||||
# shellcheck disable=SC2034
|
||||
# shellcheck disable=SC2034
|
||||
abra__service_="web"
|
||||
# Using streaming for rake since it is the least likely to flap
|
||||
|
||||
# Using streaming for rake since it is the least likely to flap
|
||||
sub_app_run bin/tootctl "$@"
|
||||
}
|
||||
|
||||
sub_setup() {
|
||||
info "Setting up mastodon database"
|
||||
silence
|
||||
|
||||
sub_rake "db:setup"
|
||||
unsilence
|
||||
success "Mastodon's database is now up! 'web' and 'sidekiq' services should now stop failing."
|
||||
|
||||
echo "Do you want to create an admin user? (Extremely recommended!)"
|
||||
prompt_confirm
|
||||
read -rp "Username: " USERNAME
|
||||
|
Loading…
Reference in New Issue
Block a user