Install options for sm_service lists the install options that can be used with the sm_service utility.
Options |
Description |
---|---|
--force |
Overwrite an existing service with the same name. The option is used to update or modify the parameters of an existing service. |
"--description=<DESC>" |
A short description of the service. Enclose the option with double quotation marks. |
--startmode=<mode> |
The service start policy. Where <mode> is one of the following:
Default: runonce |
--env=<NAME>=<VALUE> |
A <NAME>=<VALUE> pair which will be placed in the process environment of the launched service. As many --env pairs as necessary can be specified. <VALUE> may contain one or more values, separated by commas. The syntax <NAME>= (with no specified value) has the effect of unsetting <NAME> in the environment of the launched program. The --env arguments are applied left to right as they appear on the command line, and this ordering is preserved in the database. |