pm2
pm2 copied to clipboard
shutdown_with_message is not available in Javascript API
Hello,
I am trying to start a process from NodeJS, but seems like shutdown_with_message option is not available in the pm2.StartOptions. Can it be added? I want to use it on a Windows Server environment where kill signals are not working.
import * as pm2 from 'pm2';
pm2.start({
name: 'test',
script: './test.js',
shutdown_with_message: true, // Option not available and is ignored.
});