From 3cec66b8473804aaec4a1e41cd830bf111b482e6 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Fri, 28 May 2021 15:30:24 +0200 Subject: [PATCH] Comment formatting and spacing --- abra.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/abra.sh b/abra.sh index 320c341..a2293d2 100644 --- a/abra.sh +++ b/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