145 Commits

Author SHA1 Message Date
Alexandre Strzelewicz
ae02adf63f BREAKING: merge_logs is now activated by default if not in cluster mode. Logs will not be suffixed by the pm_id if only one app is started 2018-05-27 16:35:54 +02:00
Alexandre Strzelewicz
af60e99466 feature: allow to start raw command via pm2 start "my command with params" + alias script in ecosystem file with cmd & command 2018-05-27 16:07:54 +02:00
Unitech
ee5e6a06cb refactor: faster cli with less require 2018-05-17 23:34:48 +02:00
Unitech
53ca18c128 chore: upgrade all modules + keymetrics-agent -> pm2/agent + increase version enabling v8-compile-cache 2018-05-17 15:42:43 +02:00
Eywek
3514e7fac6 Merge branch 'development' of https://github.com/Unitech/pm2 into new-agent 2018-03-19 14:55:12 +01:00
Vincent Vallet
b3718656f6
Merge pull request #3545 from rmonnier/default-ecosystem
Set ecosystem.config.js as the default ecosystem file
2018-03-19 09:29:20 +01:00
Unitech
e13f39c90b fix: conflict 2018-03-16 19:46:05 +01:00
Robin Monnier
d9df60eb97 change all ecosystem.json to ecosystem.config.js 2018-03-16 18:44:00 +01:00
Eywek
2506c75956 improv: use keymetrics-agent 2018-03-16 18:19:13 +01:00
vince
935afab925 feature: add mjs support 2018-02-21 14:41:17 +01:00
Unitech
673acf36b4 hotfix: #3420 2018-01-23 17:23:55 +01:00
wallet77
291936818b #3360 pm2 show wrong user, move getUsername logic into common and API. 2018-01-16 11:17:54 +01:00
Unitech
6b26e632b8 minor performance optimization when loading modules 2017-12-21 13:59:14 +01:00
Unitech
e6fe532e60 append SUDO_USER to app.uid + handle error when wrong perm on socket 2017-12-21 11:45:12 +01:00
Danny Guo
e6c4bdd229 Fix an error message typo 2017-10-10 15:42:02 -04:00
vmarchaud
cc0f0aa809 bugfix: fixes #3096 2017-08-21 14:00:39 +02:00
Unitech
6d934994b4 #2951 enhancements for reload locker 2017-07-04 19:02:00 +02:00
Unitech
7d6f173078 #2144 #1060 #2957 #2033 #1872 #2938 #971 Select application uid/gid via --uid --gid (CLI+JSON) + pm2 install --uid / --gid 2017-07-02 19:28:41 +02:00
soyuka
a37c2d231d fix #2114 #2018 array names 2017-06-29 11:18:53 +02:00
Unitech
ce16728235 #2951 pm2 reload timestamped lockfile 2017-06-27 23:53:52 +02:00
vmarchaud
53c88bdc50 (interpreter) dont reset interpreter to node when isBinary return false #2847 2017-05-21 00:58:16 +02:00
PoppinL
64fe775ce3 (update) #2872: no load balance warn for 1 instance config (#2875) 2017-05-21 00:41:27 +02:00
Unitech
d72509e637 #2867 2017-05-10 15:17:47 +02:00
Unitech
7b0dbee375 #2829 display warning message when --env does not exists 2017-04-21 16:36:59 +02:00
vmarchaud
b30651b0d8 Merge pull request #2681 from zhendongguan/master
fix log folder create
2017-02-20 17:00:18 +01:00
vmarchaud
69f600cac4 (fix) refactor to use a var 2017-02-16 11:36:24 +01:00
edward
237a92e3f0 fix mkdirp path 2017-02-04 19:07:56 +08:00
vmarchaud
2e6ed64cd3 (interpreter) resolve path of exec_interpreter 2017-02-03 17:12:37 +01:00
vmarchaud
5ab386f0ac Revert "(langmodule) resolve interpreter relative to pm2 install folder #2675"
This reverts commit 3b15359acc3c275e81eee39e4ae8135829a908a5.
2017-02-03 17:06:33 +01:00
vmarchaud
3b15359acc (langmodule) resolve interpreter relative to pm2 install folder #2675 2017-02-03 15:03:55 +01:00
edward
8633728c89 fix log folder create 2017-02-03 13:07:35 +08:00
Unitech
787a79c1b8 #2541 checks 2017-02-02 19:27:07 +01:00
Unitech
e731d930f6 #2541 fix setting node.js version and restart via configuration file 2017-02-02 18:44:34 +01:00
Unitech
1896524435 (CLI) --disable-trace 2017-01-17 15:25:43 +01:00
Unitech
3fb35d6893 (JSON config) alias script to exec 2017-01-16 14:04:32 +01:00
vmarchaud
7939d2ec24 (fix) allow 'none' script #2611 2017-01-12 15:17:13 +01:00
Bencs Balázs
8988eb5e00 #2545 process started with pm2 api inherit wrong exit_code env value 2016-11-30 07:56:44 +00:00
Unitech
0f7a10e1e0 #2351 skip default options (node_args+autorestart) on inner pm2 actions 2016-11-22 18:00:48 +01:00
Unitech
1faf1d766b (schema) alias err_file to error_file and err + out_file to out_log 2016-11-18 13:17:01 +01:00
Unitech
c1b083c592 #2418 #2474 resolve tilde as home path in conf file 2016-11-18 13:04:12 +01:00
Unitech
f6b550ca4e #2471 make env immutable and fix watch 2016-10-26 18:07:03 +02:00
Ushko Igor
a7d720e942 indent 2016-10-17 11:48:22 +03:00
Ushko Igor
f8cb6be6f4 indent 2016-10-16 23:55:52 +03:00
Ushko Igor
e02c67d37f Supporting ecosystem.config.js. Change .js to .config.js to distinguish configuration from the script. Make tests 2016-10-16 23:42:31 +03:00
Ushko Igor
6f56478193 Supporting ecosystem.js. This allows to use javascript and module.exports in config file to avoid copy-paste and etc 2016-10-16 13:50:24 +03:00
Unitech
885ecd792b #2425 allow to specify node.js version via interpreter arg 2016-10-03 19:21:48 +02:00
Unitech
42f4cc8112 #2422 exec_interpreter none 2016-10-03 17:45:09 +02:00
Unitech
e1221e0d2a (programmatic) allow to do PM2 CLI commands from inside scripts 2016-09-19 11:45:05 +02:00
Unitech
117eec1062 now transpilators are optionnal and installable via pm2 install 2016-07-24 11:33:12 -07:00
Unitech
3e15fd8cc8 poc install typescript 2016-07-24 10:19:06 -07:00