Skip to content

Commit

Permalink
start.sh run 4 nodes & kill.sh terminate node process
Browse files Browse the repository at this point in the history
  • Loading branch information
ujin0 committed Feb 23, 2019
1 parent 30e574f commit 2932606
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/kill.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

fuser -k -n tcp 3000 3001 3002 3003
6 changes: 6 additions & 0 deletions tests/start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
HTTP_PORT=3000 node src/index.operator.js 2<&1 &
HTTP_PORT=3001 node src/index.user.js 2<&1 &
HTTP_PORT=3002 node src/index.user.js 2<&1 &
HTTP_PORT=3003 node src/index.user.js 2<&1 &

0 comments on commit 2932606

Please sign in to comment.