mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
13 lines
200 B
Bash
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 $? |