diff --git a/keep-node-alive.sh b/keep-node-alive.sh index 893f625..0c64192 100755 --- a/keep-node-alive.sh +++ b/keep-node-alive.sh @@ -2,7 +2,7 @@ PROCESS=$1 while true; do echo "Starting $PROCESS..." - curl "http://localhost:8000/server_unavailable" + curl -XPOST "http://localhost:8000/server_unavailable" npx -y tsx $PROCESS