Skip to main content

Interface: StartOptions

@divine/web-service.StartOptions

Start-up options for the start method.

Properties

stopSignals

Optional stopSignals: boolean | Signals[]

Signals to listen for.

A list of signals to listen for, true to listen for SIGHUP, SIGINT, SIGTERM and SIGBREAK, or false to not register any signal handler at all. Default is true.

Defined in

web-service/src/server.ts:15


waitForStop

Optional waitForStop: boolean

Set to true to automatically wait for stop to be called. Defaults to false.

Defined in

web-service/src/server.ts:18