Something went wrong. Try again.
Something went wrong. Try again.
1234567891011121314151617181920212223242526#!/bin/bash
# Source the Redis setup scriptsource ./scripts/setup-redis.sh
# Only setup cleanup if not running from combined scriptif [ -z "$COMBINED_SCRIPT" ]; then # Function to handle cleanup cleanup_and_exit() { echo "Cleaning up Redis..." cleanup_redis exit 0 }
# Trap SIGINT and SIGTERM to cleanup on exit trap cleanup_and_exit SIGINT SIGTERMfi
# Run the feed worker dev commandnpm run dev:worker:feeds:inner
# Only cleanup if not running from combined scriptif [ -z "$COMBINED_SCRIPT" ]; then cleanup_redisfi