Skip to content

Commit

Permalink
more tcpserver opts
Browse files Browse the repository at this point in the history
  • Loading branch information
cgsdev0 committed Aug 21, 2023
1 parent cfc9901 commit bf05fc6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ mkdir -p data
mkdir -p uploads

PORT=${PORT:-3000}
tcpserver -R -c 1000 0 $PORT ./core.sh
echo -n "Listening on port "
tcpserver -1 -o -l 0 -H -R -c 1000 0 $PORT ./core.sh

if [[ ! -z "$PID" ]]; then
kill "$PID"
Expand Down

0 comments on commit bf05fc6

Please sign in to comment.