14 Commits

Author SHA1 Message Date
Unitech
dc72d9dbec feat: send signal via env PM2_KILL_USE_MESSAGE or --shutdown-with-message 2019-10-30 13:54:01 +01:00
Aleksey Kabanov
6ccfeb7165 Extracted kill signal to the constants.js. Added new environment variable 'PM2_KILL_USE_SEND' (false by default) to allow PM2 to use process.send() instead of the process.kill() from the God.killProcess() method.
This allows applications not to depend on the platform-specific signal behavior and eventually have a graceful shutdown capability on Windows.
2019-10-24 16:15:31 -07:00
Unitech
26563239f2 fix: cb calls 2019-06-02 15:35:50 +02:00
Unitech
cb093237a7 refactor + fix bug watch_delay on json + add user mgmt tests + change tests order/remove toxic flag 2018-09-23 19:28:13 +02:00
vince
bb57c76d41 refactor: drop gracefullreload 2018-02-28 18:39:40 +01:00
Alexandre Strzelewicz
1846c5c654 edit tests 2017-10-19 16:19:40 +02:00
vmarchaud
c3f3e1aaf9 (deps) remove better-assert 2017-02-03 16:19:28 +01:00
Unitech
ef6979fe33 fix various issue in test suit related to should() 2016-07-23 16:37:34 +02:00
Unitech
227c742594 #2176 #2175 keep compatibility with PM2 v1 API + change independant to independent + adapt tests 2016-07-02 13:52:12 +02:00
Unitech
9947c321d7 start to parallelize test + no-daemon implemented + fix paths 2016-06-12 01:37:38 +02:00
Unitech
503b1bf5a3 adapt tests 2016-06-09 01:22:57 +02:00
Unitech
d1249ff45d progress 2016-06-08 19:21:37 +02:00
Unitech
ef68ef5458 #2061 fix process kill 2016-04-01 16:59:46 +02:00
Unitech
ba95a80387 #1830 - send SIGINT as default first signal 2015-12-11 16:07:04 +01:00