#!/bin/bash

export NODE_ENV=production

pm2 kill

pm2 start --name turboci-web 'bunx next start -p 3772'
pm2 start --name turboci-cron 'bun src/cron/index.ts'
pm2 start --name turboci-websocket 'bun src/websocket/index.ts'