#!/usr/bin/bash echo "function shutdownGracefully() { process.exit(0); } process.on('SIGINT', shutdownGracefully); process.on('SIGTERM', shutdownGracefully);" >> ./build/index.js