sm_service actions lists the actions that can be performed with the sm_service utility.
Actions |
Description |
---|---|
install |
Installs a program as a service. It can also be used to modify the parameters of a service. |
show |
Displays the status of the installed services. It can also display the command lines of specified services so that they can be replicated on other systems. |
start |
Starts one or more installed services. |
stop |
Stops one or more installed services. |
isstopped |
Exits with a non-zero status if the requested set of services is in a state of not running. |
remove |
Removes one or more installed services. |
The following example highlights an action with several install options. You must type it with administrative privileges.
t BASEDIR/smarts /bin/sm_service install --startmode=runonce --name=ic-broker BASEDIR/smarts /bin/brstart --port=1234 s