MODULE - service

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

service 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

service Command Example
> soajs service stop %name% --env=%env_code%
restart

Restart a service for a given environment

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