#!/bin/bash #MINIO_REGION_NAME="us-east-local" #MINIO_REGION_COMMENT="" #export MINIO_REGION_NAME MINIO_REGION_COMMENT MINIO_ROOT_USER="newsroom" MINIO_ROOT_PASSWORD="1f4feb62-dff8-47d8-9741-2574f5491d12" export MINIO_ROOT_USER MINIO_ROOT_PASSWORD # # Workers # forever start --killSignal=SIGINT -c "node --import ./register.js" src/workers/newsroom.ts # # MinIO (S3-compatible storage engine) # This process is also used to block the script until you're ready to shut down. # Ctrl+C/SIGINT the MinIO process, and the script will continue (and shut down). # minio server ./data/minio --address ":9080" --console-address ":9081" # # Shutdown # forever stop src/workers/newsroom.ts