()
| 71 | } |
| 72 | |
| 73 | async function processExit() { |
| 74 | try { |
| 75 | logger.warn($t("TXT_CODE_cea5dba1")); |
| 76 | logger.warn($t("TXT_CODE_b0aa2db9")); |
| 77 | } catch (err) { |
| 78 | logger.error(err); |
| 79 | } finally { |
| 80 | process.exit(0); |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | ["SIGTERM", "SIGINT", "SIGQUIT"].forEach(function (sig) { |
| 85 | process.on(sig, () => { |