194 B9 lines
Blame
1#!/bin/sh
2# Start the collab Socket.IO server in the background
3node collab-socket.js &
4SOCKET_PID=$!
5trap "kill $SOCKET_PID" EXIT
6
7# Start Next.js as the foreground process
8exec node server.js
9