Files
oneuptime/Nginx/run.sh
2024-01-29 07:23:24 +00:00

13 lines
200 B
Bash

#!/bin/bash
# Start the first process
nginx -g "daemon off;" &
# Start the second process
npm start &
# Wait for any process to exit
wait -n
# Exit with status of process that exited first
exit $?