Skip to content

clocklimited/navy-clock-restart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clock Restart Order

This is an Order which is used by Captains as part of the Navy deployment suite.

It does the following actions:

  • Restart the applications services by issuing a stop and then a start. Only restarts the running services unless a force parameter is passed

This order assumes that the following configuration keys have been added to the Admiral for the application you are trying to prepare:

  • services: Object containing thes services that this application has. The key forms the suffix of the name of the upstart jobs e.g node-myproject-staging-<-service->. The value is the relative path to the start script of the service

An example Admiral application configuration might look like:

{ "name": "My Application"
, "appId": "myApp"
, "services":
  { "admin": "admin/app.js"
  , "site": "site/app.js"
  , "api": "api/app.js"
  , "message-bus": "message-bus.js"
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published