How To Gracefully Shutdown Nodejs Server Coding Defined

How To Gracefully Shutdown Nodejs Server Coding Defined