Install StrongLoop Process Manager as an operating system service.
On a system where you have installed StrongLoop with
npm install -g strongloop, use the
slc pm-install command. One a production host where you've installed StrongLoop Process Manager with
npm install g strong-pm, use
sl-pm-install. The two commands are equivalent.
SYNOPSISInstall StrongLoop Process Manager as a service using the specified options. By default, the command installs the service as an Upstart job using a template for Upstart 1.4 or higher. Use the
--systemdoption to install as a
systemdservice instead. Use the
--upstart <version>option to specify a different version of Upstart.
See Setting up a production host for more information.
-b, --base <base>
Base directory in which to work. Default is home directory of user running Process Manager; see
-d, --driver <driver>
Specify application execution driver, either
direct (the default) or
-e, --set-env env=val...
Initial application environment variables, where
env is name of the enviroment variable,
val is value. To set multiple variables, enclose them all in quotes as a single argument, and separate each pair with a space, for example "K1=V1 K2=V2 K3=V3".
Overwrite existing job file if present.
Enable HTTP basic authentication, requiring the specified credentials for every request sent to the REST API.
<creds> has the form <username>:<password>.
-j, --job-file <path>
Path of Upstart job to create (default
-m, --metrics <stats> Specify
--metrics option for supervisor running deployed applications. See Integrating with third-party consoles for more information.
Don't write any files.
-p, --port <port>
Listen on <port>. Default is 8701.
-P, --base-port <port>
Run applications on port number <port> + service ID. Default base port is 3000.
[–systemd | --upstart <version> ]
Install Process Manager as either:
- A systemd service.
- An Upstart job (Upstart 1.4 is the default). Use this option to specify Upstart 0.6.
Run StrongLoop Process Manager as this user. Default is strong-pm.
Display help information.
Display version number.