Unitech
374fd39072
fix calling PM2 inside a script #4761
2020-06-29 21:02:35 +02:00
Unitech
593b43ca66
various fixes for N14
2020-04-23 17:33:35 +02:00
Unitech
e41282df4c
fixes for node 14 + shelljs
2020-04-22 21:39:32 +02:00
Alexandre Strzelewicz
03d0b284f6
Merge pull request #4662 from Timic3/fix/common-module-import
...
Add .cjs (common JS) as a viable extension
2020-04-14 11:36:58 +02:00
Timotej
7323438fc6
Add .cjs (common JS) as a viable extension
2020-04-13 01:31:55 +02:00
Unitech
03f09ef24d
filter_env to skip local env variables #4596
2020-04-12 16:58:55 +02:00
Alexandre Strzelewicz
bf582e1657
Merge pull request #4561 from codpot/fix-disabling-logs
...
Fix disabling logs
2020-04-12 16:12:41 +02:00
Unitech
8b0417b3a9
drop moment replace by dayjs -200kb
2020-04-12 15:55:32 +02:00
Unitech
7319a7f1ab
do not require cron in CLI if not needed
2020-04-12 15:49:24 +02:00
Unitech
498e96ef7b
upgrade mocha + add .mocharc.yml + mkdirp fix
2020-04-12 14:21:51 +02:00
Seungwan Seo
f3259c0f9a
Fix disabling logs bugs ( #4560 )
...
When log path set to "/dev/null" in Windows, PM2 creates 'C:\dev\null'.
After remove "C:\dev" folder while PM2 is stopped, PM2 can't restart app.
Because, Path changed to "C:\dev\null" not "/dev/null" in Windows.
(libs/Utility.js - 174)
When log path set to "NULL" in Windows and Linux and flush logs,
PM2 creates 'NULL' in source code directory.
So, If log path is "NULL" or "/dev/null" then
forces path to "\\.\NUL" when Windows and "/dev/null" when Linux.
It works both on Windows and Linux, without any create "C:\dev" or "NULL".
2019-12-29 02:03:53 +09:00
Unitech
ac2ca921fe
replace moment with dayjs
2019-12-02 15:17:42 +01:00
Unitech
24c35236f5
fix : #4442 allow to pass path in direct pm2 execution
2019-10-14 12:09:50 +02:00
Unitech
b4aa9abb3d
chore: hard set instances if not specified
2019-10-11 16:44:34 +02:00
Unitech
b122dca764
behavior: pm2 start app.js -i 1 default to cluster mode #4362
2019-10-11 16:19:15 +02:00
Alexandre Strzelewicz
62e9ab90d2
Merge pull request #4267 from SagePtr/issue4262
...
Fix: Allow usernames in uid/gid/user again (fixes #4058 , #4262 )
2019-10-11 16:10:31 +02: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
Sage Pointer
b6b27f0ca4
Allow usernames in uid/gid/user again ( fixes #4262 )
2019-05-06 18:02:57 +03:00
Unitech
5b6275915c
feat: allow to run pm2 with embedded node binaries
2019-04-26 13:48:16 +02:00
Alexandre Strzelewicz
358e98f664
pm2@3.2.7
2019-01-09 16:48:33 +01:00
Alexandre Strzelewicz
4df7c7cfda
pm2@3.2.6
2019-01-09 16:28:57 +01:00
Unitech
4b6e45e0bb
fix: node interpreter resolutin
2019-01-08 17:55:22 +01:00
Unitech
8a156e4e3e
fix: snap node path
2019-01-08 17:08:44 +01:00
Unitech
0b71c7a93d
fix: print full env + skip extra internal fields when using programmatic pm2
2018-12-27 12:17:38 +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
f0c465db55
fix: stringify possible passed object via env + fix unit test retry strategy #4080 #4079
2018-12-19 15:04:28 +01:00
Unitech
495c77f90b
feat: faster test/less output #4079
2018-12-18 18:20:09 +01:00
Unitech
cd4ea62383
fix: silent mode and verbose should not be enabled after -- option pass
2018-12-18 14:46:55 +01:00
Alexandre Strzelewicz
b19d076162
Merge pull request #4038 from andy-ganchrow/master
...
Ensure node_args are not removed on restart
2018-12-04 15:52:31 +01:00
Unitech
846413828c
fix: check exec_mode in all cases
2018-12-04 13:20:23 +01:00
Unitech
d14ccbadbd
fix process file env switching bug and proc dups #3192 + #3987
2018-12-04 13:14:32 +01:00
Andy Ganchrow
0ec85bc091
Remove duplicate setting of node_args as default array
2018-11-22 12:55:31 -08:00
Andy Ganchrow
213f48641b
Ensure node_args are not removed on restart
2018-11-22 12:51:02 -08:00
Unitech
f9b6f010d8
fix : #4012 cluster_mode when starting application with -i -1
2018-11-12 09:57:47 +01:00
Unitech
d5acb85532
fix 'max' and 0 instances number + test suite
2018-10-05 17:09:31 +02:00
Unitech
565fc77e6e
add command to display application environment
2018-09-28 21:17:15 +02:00
Unitech
6fdf21fd73
feature allow pm2 install <url>.tar.gz + fix smart prefix system
2018-09-27 18:19:43 +02:00
Unitech
058ea6e2c9
parse package.json to retrieve module version running in mem + --bail on mocha.opts to fail fast
2018-09-27 15:34:02 +02:00
Unitech
58d2465ef7
merge development
2018-09-25 00:06:22 +02:00
Unitech
9aa0abbdab
drop v1 modules logic and tests + v1 of tarball module management + add Common.err and Common.log helper with auto prefix + split module logic
2018-09-24 22:55:18 +02:00
Unitech
adf5e7d8a5
fix an oversight
2018-09-24 14:52:11 +02:00
Unitech
3e3077698c
--time to enable log date prefixing
2018-09-24 00:17:23 +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
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
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
Unitech
b4708e7498
chore: adapt tests
2018-09-21 14:22:07 +02:00
Unitech
e2aa872b37
-i <instances> default to exec_mode fork if not a node app + add test + remove unused test
2018-09-20 13:36:51 +02:00
Unitech
9abada0bd2
fix check exec
2018-09-19 15:20:31 +02:00
Unitech
160dc26f8f
cluster mode enable only for node apps
2018-09-19 12:26:33 +02:00
Unitech
ed13628540
ecosytem/cli: force fork mode for multi non node.js instances
2018-09-19 12:08:53 +02:00