Commands

Filip Weiss edited this page Oct 13, 2013 · 1 revision
Clone this wiki locally

node server --help will output all available commands

repl

Only works if you clu.use(clu.repl()) Throws you in a repl.

start

Will start the server and throw you back into your terminal.

stop

Will stop all workers and the master.

restart

Respawns all workers one after another.

restart-master

Will restart the master process. (This will cause a downtime!).

scaleup x

Start x number of workers

scaledown x

Stop x number of workers Use --force to kill them