#!/bin/bash #Start backend cd /root/okiba-org-frontend; pnpm start & #Start frontend cd /root/okiba-org-backend; pnpm run dev & # Wait for any process to exit wait -n # Exit with status of process that exited first exit $?