About hapi-graceful-shutdown-plugin
Another hapi plugin to facilitate graceful shutdowns caused by sigterm and sigint. Updated to work with Hapi v17 and v18. Older versions of the plugin support Hapi v16.
Install
npm install hapi-graceful-shutdown-plugin --save
Usage
'use strict'; const Hapi = ; const server = host: localhost port: 3000; const startup = async { await server; await serverstart;}; ; console;