Restart Orchestrator

Method name restart
Command asctl orchestrator:restart
Implemented? Yes
Details Restart Orchestrator
Inputs None
Outputs STDOUT the stop operation, followed by the start operation
Note: After running asctl orchestrator:restart, run asctl all:status to confirm the restart.
# asctl orchestrator:restart
stopping manager, engine and workers..
stopped...

Orchestrator Status:
  -> Orchestrator Manager NOT running
  -> Orchestrator Engine NOT running
  -> Mongrel serving orchestrator on port 3000 is NOT running
  -> Mongrel serving orchestrator on port 3001 is NOT running
  -> Mongrel serving orchestrator on port 3002 is NOT running
  -> Orchestrator Monitor NOT running
  -> Asynchronous Worker Process 0 is NOT running
  -> Asynchronous Worker Process 1 is NOT running
  -> Synchronous Worker Process 2 is NOT running
  -> Synchronous Worker Process 3 is NOT running
  -> Synchronous Worker Process 4 is NOT running
  -> Synchronous Worker Process 5 is NOT running
starting...
started...
nohup: redirecting stderr to stdout

Orchestrator Status:
  -> Orchestrator Manager running with pid: 29812
  -> Orchestrator Engine NOT running
  -> Mongrel serving orchestrator on port 3000 is NOT running
  -> Mongrel serving orchestrator on port 3001 is NOT running
  -> Mongrel serving orchestrator on port 3002 is NOT running
  -> Orchestrator Monitor NOT running
  -> Asynchronous Worker Process 0 is NOT running
  -> Asynchronous Worker Process 1 is NOT running
  -> Synchronous Worker Process 2 is NOT running
  -> Synchronous Worker Process 3 is NOT running
  -> Synchronous Worker Process 4 is NOT running
  -> Synchronous Worker Process 5 is NOT running

# asctl all:status
Apache:               running
MySQL:                running

Orchestrator Status:
  -> Orchestrator Manager running with pid: 29812
  -> Orchestrator Engine running with pid: 29825
  -> Mongrel serving orchestrator on port 3000 is running with pid: 29830
  -> Mongrel serving orchestrator on port 3001 is running with pid: 29832
  -> Mongrel serving orchestrator on port 3002 is running with pid: 29834
  -> Orchestrator Monitor running with pid: 29828
  -> Asynchronous Worker Process 0 is running with pid: 29841
  -> Asynchronous Worker Process 1 is running with pid: 29843
  -> Synchronous Worker Process 2 is running with pid: 29845
  -> Synchronous Worker Process 3 is running with pid: 29847
  -> Synchronous Worker Process 4 is running with pid: 29849
  -> Synchronous Worker Process 5 is running with pid: 29839