Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction


The following page describes the service module manual.


Below is the list of all operations for the serviceĀ module


OPERATIONDescription
start

Start a service for a given environment

Code Block
languagebash
titleservice Command Example
> soajs service start %name% --env=%env_code% [--port=%optional_port%]
 
# example
> soajs service start gateway --env=dev


stop

Stop a service for a given environment

Code Block
languagebash
titleservice Command Example
> soajs service stop %name% --env=%env_code%


restart

Restart a service for a given environment

Code Block
languagebash
titleservice Command Example
> soajs service restart %name% --env=%env_code% [--port=%optional_port%]