231 Commits

Author SHA1 Message Date
Unitech
d9e6964f46 Bun support 2024-11-13 13:23:06 +01:00
Unitech
8d9ecd2e73 update: packages 2024-05-23 12:08:03 +02:00
ultimate-tester
935a8804e1 Added autostart parameter to optionally prevent immediately starting applications
(cherry picked from commit b34498f45e6138a6e7f31c6a7f0ddfed768eee76)
2024-03-13 11:25:46 +01:00
Unitech
b194ea71bc fix python3 test 2023-10-06 08:37:26 +02:00
Unitech
f122aabe32 #5682 add test for bun over ts and tsx 2023-10-06 08:25:25 +02:00
Unitech
7bbe1a5734 #5681 auto resolve python3 binary if available 2023-10-06 07:49:34 +02:00
Alexandre Strzelewicz
dd19e3f5f8
Merge branch 'development' into bugfix/deploy-ecosystem-filename-extension 2023-10-06 06:27:42 +02:00
Karol Bujaček
79687f1b26 Refactor config file type detection in parse config function 2023-09-27 13:06:55 +02:00
Karol Bujaček
c810b9fa3b Deploy: use common file extensions during config file detection
This fixes #5451, relates to #5337, #4652
2023-09-27 13:01:33 +02:00
Karol Bujaček
e0a5add354 Refactor conditions in config file detection 2023-09-27 12:37:19 +02:00
Yuki Ito
d6458d8536 feat: stop-exit-codes 2022-03-18 23:40:40 +00:00
Unitech
a94f012e46 drop cron-parser for sanity check and use Croner constructor 2022-02-15 19:35:13 +01:00
Unitech
af3a1f77cb use croner instead of node-schedule 2022-02-09 10:19:31 +01:00
Unitech
2673a97400 fix cron check 2022-02-08 10:14:16 +01:00
Unitech
540caabe8a Merge branch 'development' of https://github.com/mararrdeveloper/pm2 into mararrdeveloper-development 2022-02-08 10:01:17 +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
199e141a21 Merge branch 'update_copyright_year' into copyright_update_2022 2022-01-19 14:53:37 +01:00
Dimitar Drenkovski
4c9cb4d743 Update copywrite year (2021 -> 2022) 2022-01-19 11:41:33 +01:00
terencekhwu
df7a9be198 refactor: replace deprecated util._extend with Object.assign 2021-12-04 18:00:15 +08:00
Unitech
30fce64442 merge master 2021-11-09 10:56:26 +01:00
Marco Arrigo
62afc6c6b9 Replaced cron with node-schedule 2021-09-24 22:57:02 +02:00
Unitech
120e31acbc cron restarts improvements 2021-09-24 12:40:46 +02:00
Unitech
318676a3b0 feat: default behavior chan 2021-07-12 21:02:37 +02:00
Unitech
cc9714ca83 bump copyright years 2021-01-28 11:05:59 +01:00
qsqiu
a83a3ba351 fix: creating-log-folder-in-sync-mode 2020-09-07 15:36:48 +08:00
Unitech
bf8caca905 #4765 automatically print applications logs on start/restart for 10secs 2020-06-30 10:47:15 +02:00
Unitech
261396c8e0 fix: now whenever there is an internal pm2 env var, skip pm2 env for starting #4761 2020-06-30 09:56:12 +02:00
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