Registry as a service (example)
NSSM
Create a service
nssm.exe install Trust1Connector-registry C:\<path-where-registry-is-located>\t1c-reg.exe [arguments]nssm.exe install Trust1Connector-registry C:\<path-where-registry-is-located>\t1c-reg.exe -f -p 51983USAGE:
t1c-reg [FLAGS] [OPTIONS]
FLAGS:
-d, --debug Enables debug mode and additional debug logging
--ds.reg Enables the use of the Distribution service Registry (only in online mode) - ds.server_address
MUST be provided
--enable.jwt Enables the use of JWT validation middleware on the API server. No use cases can be performed
without sending a valid JWT from the consumer request. The JWT must be issued by the configured
DS.
-f Enables the use for the file logger <logs/t1c-reg.log>
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
--cors <cors> Provide a base64 encode, comma-separated list of cors origins to be
provided on startup. When using a Distribution Service, the CORS is
overwritten by the DS configuration.
--ds.server_address <ds.t1t.io> Activated ONLINE mode using given Distribution Service Host. If not given,
the T1C-API runs in OFFLINE mode
--env <prod> The environment running under. The value is passed through form the T1C-API
initiating the registry
-p, --reg.port <51883> Sets the Registry port
-s, --reg.server_address <t1c.t1t.io> Sets the Registry URI
-U, --user.path <.> Set the user folder for pem/cert and log filesStarting the service
Service management
Last updated
Was this helpful?

