Files
romm/docker/init_scripts/init
2023-08-26 19:28:36 -04:00

23 lines
297 B
Bash
Executable File

#!/bin/bash
# Run migrations and start uvicorn
/init_back &
# Start nginx
/init_front &
# Start rq worker
/init_worker &
# Start rq scheduler
/init_scheduler &
# Start watchdog
/init_watchdog &
# Wait for any process to exit
wait -n
# Exit with status of process that exited first
exit $?