Unitech
d9e6964f46
Bun support
2024-11-13 13:23:06 +01:00
Unitech
061cb248de
fix
2022-01-20 11:34:59 +01:00
Dimitar Drenkovski
4c9cb4d743
Update copywrite year (2021 -> 2022)
2022-01-19 11:41:33 +01:00
Unitech
120e31acbc
cron restarts improvements
2021-09-24 12:40:46 +02:00
Unitech
5ad39c83b7
merge
2021-01-29 10:20:26 +01:00
Unitech
cc9714ca83
bump copyright years
2021-01-28 11:05:59 +01:00
Unitech
042a32afce
move sysmonitoring logic to pm2-sysmonit + fix pm2 ls
2021-01-13 13:57:18 +01:00
Unitech
2f61ddbf42
fix: cron-restart in cluster mode + alias --cron to --cron-restart fix #4834 #4733 #4307 #4834
2020-12-09 11:55:41 +01:00
Unitech
3e004dc6d3
add udp client/server example + fix typo
2020-09-28 13:52:31 +02:00
Matt Brooks
08ae19e50d
Prevent reloadLogs command from hanging
...
Previously, when the pm2 reloadLogs command was running as a non-root
user, the process will not release and hangs. The reason for the hang
is that the forked process never closes because the object is empty
and doesn't contain the expected object. This commit checks if an
object exists first, before trying to execute methods on it.
Related to: #4781
Co-authored-by: Franck Danard <fdanard@sangoma.com>
2020-07-14 23:17:37 -05:00
Unitech
e41282df4c
fixes for node 14 + shelljs
2020-04-22 21:39:32 +02:00
Unitech
7a5da591f5
drop date-fns
2020-04-13 12:21:41 +02:00
Alexandre Strzelewicz
a016999229
Merge pull request #4518 from bvsubhash/trigger-namespace-or-all
...
feat: trigger all the process using 'all' or trigger all processes in a particular namespace
2020-04-12 16:20:10 +02:00
Unitech
278d4b2cbc
fix : #4588 import syntax on Node 9.x
2020-01-21 13:31:46 +01:00
Unitech
5166826a9c
chore: avoid token exception on Node < 9.x
2020-01-13 16:47:49 +01:00
Subhash
9f2d8ca05a
feat: trigger all the process using 'all' or trigger all processes in a particular namespace
2019-11-23 14:55:38 +05:30
Unitech
3976f15b3f
fix: cron refactor
2019-11-14 23:37:35 +01:00
Subhash
474f76b775
fix: stop and delete cron immediately on deletion of a process
2019-11-06 00:55:55 +05:30
Unitech
2d7f0ff8b3
feat: control over system monitoring via pm2 sysmonit #4471
2019-10-30 14:41:45 +01: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
fde4129b96
fix: make systeminformation as optional module #4457
2019-10-15 15:35:16 +02:00
Alexandre Strzelewicz
86f0e9678c
Merge pull request #4376 from Goodluckhf/wait-ready-fix
...
3.5.x: Process.send('ready') does not trigger SIGINT
2019-10-11 15:35:33 +02:00
Alexandre Strzelewicz
474ac37610
Merge pull request #4392 from mib008/patch/issue_4378
...
Patch/issue 4378
2019-08-14 15:26:53 +01:00
mib008
76dfc0739a
fix: add property 'type' for compatible with old version.
2019-08-14 14:10:50 +08:00
Konstantin Bubyakin
6b9b7d455a
fix: after send ready SIGINT should be sent
2019-07-30 16:44:46 +03:00
Unitech
37b9de7811
feat: auto suffix log when exiting + display error when wrong manipulation of json/args
2019-06-29 01:37:04 -07:00
Unitech
dcc9894f02
fix: better display when pm2 linked to onprem + fix display width
2019-05-10 22:41:47 +02:00
Unitech
2833774d7f
epic: pm4 to v4.0 + adding advanced sysinfos
2019-05-01 00:20:37 +02:00
Benoît Zugmeyer
41978815a3
fix: trigger scoped actions
...
Scoped actions require a uuid field to work, so we should make sure to
send it to the child process. Currently, we only send the action name if
`opts` are not defined.
2019-01-16 15:25:12 +01:00
Unitech
12725ea4c4
fix: consolidate unhealthy system spawn behavior #3229 #3954
2018-12-27 15:12:51 +01:00
Unitech
bb1918971b
fix: keep wait_ready to his initial state on pm2 reload all #4069
2018-12-19 16:07:11 +01:00
Unitech
d14ccbadbd
fix process file env switching bug and proc dups #3192 + #3987
2018-12-04 13:14:32 +01:00
Unitech
2bfaaca806
feature: add exponential backoff restart delay via --exp-backoff-restart-delay
2018-09-27 17:05:40 +02:00
Unitech
71c6e749c6
remove double new line
2018-09-24 17:21:46 +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
9f3b5ea80c
CHANGE: now log_date_format is attached by default + fix multi line #2792 + cleanup travis file
2018-09-23 19:44:41 +02:00
Unitech
ccb35ef8ca
proper support of setting the right user in fork mode (uid/user resolution + HOME set)
2018-09-23 17:54:07 +02:00
vmarchaud
624f98fb83
tests: fix instable test
2018-09-12 14:39:30 +02:00
Unitech
71b436bb29
revert pr
2018-08-27 01:55:27 +02:00
vince
6cbca8bccc
refactor: #3786 clean code
2018-08-21 11:51:16 +02:00
vince
1ff7fd3d49
fix : #3786 fix issue when triggering an action that does not exist
2018-08-21 10:49:54 +02:00
Vincent Vallet
7e92855ff5
Merge pull request #3807 from medanat/minimize-async-lib-footprint
...
Minimize async lib footprint
2018-08-17 10:23:57 +02:00
Andru Cherny
c433f5fe10
Add new feature with unstable resatrt
...
(cherry picked from commit 592c65a4318c8072735f51e9234f24079165878e)
2018-08-17 09:41:55 +02:00
Yazan Medanat
b8b48e83f7
refactor: removes unused imports.
2018-07-19 10:18:16 -04:00
Yazan Medanat
6466ee44c1
refactor: only import the necessary methods from async.
2018-07-19 10:18:08 -04:00
Yazan Medanat
679b14ff4b
refactor: removes unused async imports.
2018-07-19 10:17:50 -04:00
Unitech
0495bd8e4f
fix: protect geteuid/getegid from being called on windows #3793
2018-07-17 15:25:22 +02:00
Unitech
88551b8cfe
fix : #3791 mitigate pidusage errores
2018-07-13 16:05:01 +02:00
Unitech
3a582b42f9
fix : #3764
2018-07-10 11:54:26 +02:00