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