isaacs / cluster-master

Take advantage of node built-in cluster module behavior
ISC License
276 stars 44 forks source link

repl doesn't work running root #20

Open jaslo opened 10 years ago

jaslo commented 10 years ago

I started my node server app from root crontab, using cluster-master and even though I had "repl:3001" set, the repl seems to have not started. netstat showed no listener on 3001. on startup, I did see the message: "resize and then setup repl"

crontab invoked this script:

!/bin/sh

cd /home/jloveman/callhome2 /usr/bin/screen -dmS callhome2 sudo node /home/jloveman/callhome2/cluster_worker.js