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