-
Notifications
You must be signed in to change notification settings - Fork 2
Plugins
drewyoung1 edited this page May 25, 2012
·
1 revision
-
cli()
=> CLI to the cluster- Requires
pidfiles
- Define new commands => Look at the source
- Built-in commands
-
status
(-s
,--status
) => Shows the status of the cluster -
restart
(-r
,--restart
) => Restarts the cluster -
stop
(-S
,--stop
) => Kills the cluster -
shutdown
(-g
,--shutdown
) => Shuts the cluster down (gracefully) -
help
(-h
,--help
) => Shows the help for the commands -
background
(-b
,--background
) => Starts the cluster in the background (actually just restarts it)
-
- Requires
-
watch([files[]], [full])
=> Automatically restart / reload the cluster-
files
=> The files to watch. Defaults to the main module -
full
=> Whether or not to to a full restart
-
-
pidfiles(dir)
=> Save pidfiles for the master and workers-
dir
=> Where to save them
-