diff --git a/abra.sh b/abra.sh index 5f34502..55777dd 100644 --- a/abra.sh +++ b/abra.sh @@ -81,12 +81,12 @@ secrets() { echo "Generating secrets for a new Mastodon deployment..." echo "" - SECRET_KEY_BASE=$(docker run --rm tootsuite/mastodon:$MASTO_VERSION bundle exec rake secret) + SECRET_KEY_BASE=$(docker run --rm tootsuite/mastodon:$MASTO_VERSION bundle exec rails secret) abra app secret insert "$APP_NAME" secret_key_base v1 "$SECRET_KEY_BASE" echo "SECRET_KEY_BASE = $SECRET_KEY_BASE" echo "" - OTP_SECRET=$(docker run --rm tootsuite/mastodon:$MASTO_VERSION bundle exec rake secret) + OTP_SECRET=$(docker run --rm tootsuite/mastodon:$MASTO_VERSION bundle exec rails secret) abra app secret insert "$APP_NAME" otp_secret v1 "$OTP_SECRET" echo "OTP_SECRET = $OTP_SECRET" echo ""