diff --git a/player.js b/player.js index 3cca474..6299fde 100644 --- a/player.js +++ b/player.js @@ -55,6 +55,7 @@ function exitHandler(options, err) { process.on('exit', exitHandler.bind(null)); process.on('SIGINT', exitHandler.bind(null, {exit:true})); +process.on('SIGUSR2', exitHandler.bind(null, {exit:true})); const throttledTag = throttle(config.global_throttle, true, tag => { ScriptRunner.find(tag).then((fulfilled) => {