Comment formatting and spacing
This commit is contained in:
parent
d3ada7142c
commit
3cec66b847
4
abra.sh
4
abra.sh
@ -9,6 +9,7 @@ sub_rake() {
|
|||||||
|
|
||||||
# shellcheck disable=SC2034
|
# shellcheck disable=SC2034
|
||||||
abra__service_="streaming"
|
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 "$@"
|
sub_app_run bundle exec rake "$@"
|
||||||
}
|
}
|
||||||
@ -20,6 +21,7 @@ sub_tootctl() {
|
|||||||
|
|
||||||
# shellcheck disable=SC2034
|
# shellcheck disable=SC2034
|
||||||
abra__service_="web"
|
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_app_run bin/tootctl "$@"
|
||||||
}
|
}
|
||||||
@ -27,9 +29,11 @@ sub_tootctl() {
|
|||||||
sub_setup() {
|
sub_setup() {
|
||||||
info "Setting up mastodon database"
|
info "Setting up mastodon database"
|
||||||
silence
|
silence
|
||||||
|
|
||||||
sub_rake "db:setup"
|
sub_rake "db:setup"
|
||||||
unsilence
|
unsilence
|
||||||
success "Mastodon's database is now up! 'web' and 'sidekiq' services should now stop failing."
|
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!)"
|
echo "Do you want to create an admin user? (Extremely recommended!)"
|
||||||
prompt_confirm
|
prompt_confirm
|
||||||
read -rp "Username: " USERNAME
|
read -rp "Username: " USERNAME
|
||||||
|
Loading…
Reference in New Issue
Block a user