169 Commits

Author SHA1 Message Date
biodiscus
ffb3ec453b
refactor: replace chalk with smaller alternative 2025-05-08 23:43:18 +02:00
Unitech
fbef812118 disable git parsing by default #5909 #2182 #5801 #5051 #5696 2024-11-13 13:55:56 +01:00
Unitech
d9e6964f46 Bun support 2024-11-13 13:23:06 +01:00
Alexandre Strzelewicz
c1e2e52f28
Merge pull request #5239 from hyaocuk/refactor/util-extend
refactor: replace deprecated util._extend with Object.assign
2022-01-20 11:28:38 +01:00
Dimitar Drenkovski
0c671d79d1 correct copyright year with start and end year (to be consistent) 2022-01-19 13:09:04 +01:00
terencekhwu
df7a9be198 refactor: replace deprecated util._extend with Object.assign 2021-12-04 18:00:15 +08:00
Unitech
bf8caca905 #4765 automatically print applications logs on start/restart for 10secs 2020-06-30 10:47:15 +02:00
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
24c35236f5 fix: #4442 allow to pass path in direct pm2 execution 2019-10-14 12:09:50 +02:00
Alexandre Strzelewicz
870444c8af
Update constants.js 2019-04-19 11:44:48 +02:00
vmarchaud
cbd25a3b8c
feat: re-implement pm2 plus cli 2019-01-07 11:06:34 +01:00
Unitech
f660bf6ad3 #3928 reset restart delay once application is in stable mode 2018-10-03 11:17:53 +02:00
Unitech
2bfaaca806 feature: add exponential backoff restart delay via --exp-backoff-restart-delay 2018-09-27 17:05:40 +02:00
Unitech
e793425afb first partial commit to support local tarball module install (install + respawn on boot) + refactor of module system 2018-09-24 14:42:40 +02:00
Unitech
0f1c2c6a24 faster logs throughput date parsing by replacing moment by date-fns in PM2 Daemon + homogeneize all logs with same date format + factorize ForkMode logging 2018-09-23 23:33:42 +02:00
Unitech
4f9805508d fix: path 2018-07-13 18:41:18 +02:00
Unitech
bc5c7e92cd refactor: split / remove unused code / DRY / pm2 enterprise|plus - breaking: .interact dropped 2018-07-13 18:29:33 +02:00
vince
a3c2900f3e refactor: change default log date format 2018-06-21 10:44:35 +02:00
Unitech
ee5e6a06cb refactor: faster cli with less require 2018-05-17 23:34:48 +02:00
Unitech
d0a2a30e41 refactor: centralize SECRET/PUBLIC/MACHINE_NAME + change some wordings 2018-05-10 20:09:13 +02:00
Robin Monnier
d9df60eb97 change all ecosystem.json to ecosystem.config.js 2018-03-16 18:44:00 +01:00
vince
828a30d0cc feat: add dependencies section into ecosystem.json file. 2018-02-08 15:57:58 +01:00
Unitech
07d77f93f2 add motd 2017-11-22 15:44:33 +01:00
Daniel Tschinder
7e099e7883 Fix applying env PM2_CONCURRENT_ACTIONS correctly
Now the default will be either 1 or 2 depending on node version and the environment variable will still be able to overwrite the default.
2017-10-25 10:11:42 +02:00
Unitech
fe4d600b0a remove unused constant 2017-07-06 09:45:52 +02:00
vmarchaud
fb452280e4 (aggregator) set low aggregation duration when NODE_ENV=local_test 2017-07-05 10:12:59 +02:00
Unitech
34d13dce3d #2501 low memory environment option via PM2_OPTIMIZE_MEMORY 2017-07-04 20:33:45 +02:00
Unitech
ce16728235 #2951 pm2 reload timestamped lockfile 2017-06-27 23:53:52 +02:00
vmarchaud
6d5f5bff1e (interactor) attach logs based on application name 2017-06-20 21:14:43 +02:00
Michiel De Mey
9433f1fc16 Stripping environment variables from the HttpInterface (#2895)
* Fixes 452

* Renamed to `proc`

* Default to false to keep backwards compatibility
2017-05-23 23:48:21 +02:00
Unitech
a54d886093 restore 0.12 support 2017-04-27 00:42:05 +02:00
Unitech
bd87549975 drop 0.12 support #2846 2017-04-22 15:27:58 +02:00
vmarchaud
d8b0e79295 (cst) increase aggreation duration 2017-03-31 10:58:23 +02:00
Unitech
fa06f5e97a (trace) refactor + handle exit/restarts 2017-02-27 01:03:59 +01:00
Unitech
265d351742 (Interactor) reduce LOGS_BUFFER 2017-02-23 18:50:32 +01:00
vmarchaud
b5761af11f (aggregator) avoid sending aggregated routes after app restart 2017-02-09 16:39:35 +01:00
vmarchaud
a2aead0acb (error-reporting) resolve context from pmx error 2017-02-07 14:45:02 +01:00
Unitech
683c1ea50b (CLI) pm2 ecosystem simple 2017-01-29 13:33:26 +01:00
Unitech
1dc0d5b9ec (startup refactor) 2016-12-04 19:23:18 +01:00
Unitech
f6b550ca4e #2471 make env immutable and fix watch 2016-10-26 18:07:03 +02:00
Unitech
e1221e0d2a (programmatic) allow to do PM2 CLI commands from inside scripts 2016-09-19 11:45:05 +02:00
Unitech
3b3bfabdab (constant) change exit code uncaught exception 2016-09-17 13:59:54 +02:00
Unitech
56c93f3467 (concurrent) increase concurrent actions to 4 2016-09-15 01:32:53 +02:00
Unitech
3f651edc63 (last tuning before prod) reduce CONCURRENT_ACTION to keep rolling restart + pm2 docker:gen 2016-09-15 01:00:20 +02:00
Unitech
90e3c1f644 (docker integration) #2320 feature v1 POC (test+cmds+logic) 2016-08-14 13:21:05 +02:00
Eduardo Bragatto
32d37075d4 Allows to specify an IP Address for the WEB API to bind on 2016-07-23 14:17:32 +00:00
Unitech
1c3ce109e8 lazy api implementation fixes auto exit #2167 2016-07-13 01:01:50 +02:00
Unitech
b20b0369a2 add back semver 2016-06-26 16:39:24 +02:00
Unitech
05c8c24403 small changes in Daemon.js - drop unused semver dependency 2016-06-26 16:28:44 +02:00