56 Commits

Author SHA1 Message Date
Unitech
b0c8f1b7d9 Temporary basic alert message before refactoring pre json validation 2015-04-15 00:32:46 -04:00
Unitech
0f23e6c50c kill modules when killing pm2 + wait for module to start on pm2 initialization 2015-03-06 17:46:30 -05:00
Unitech
a05fd06240 when calling pm2 programmatically avoid outputing undesired messages 2015-03-05 17:15:33 -05:00
Unitech
3adffde39e ignore more internal variables 2015-03-04 23:12:21 -05:00
Unitech
d5e731e332 avoid environment copy when executing/restarting script via PM2 programmatic API 2015-03-04 23:07:46 -05:00
Unitech
be06178629 better doc for modules - replace JSON5 by pure JSON for configuration - avoid copy an [Object] String when restoring previous environment (Common.extend) 2015-03-01 18:56:53 -05:00
Unitech
f7156d10ba no domain in test mode 2015-02-20 15:02:45 -05:00
Unitech
e4b45e37aa Integrate configuration system with module system 2015-02-09 17:02:06 -05:00
Unitech
3d4d46f0ad POC module system 2015-02-07 22:37:38 -05:00
Tjatse
8d6e7aebe3 1. add post_update schema; 2. fix log path bug. 2014-11-24 17:16:26 +08:00
Tjatse
0c31dede26 1. Validate Commander options && JSON key-values and make options briefness and easy configuration. 2. Refactor start/restart 2014-11-24 14:44:20 +08:00
Unitech
21306731e4 Move startLogging method into Utility.js to avoid memory overhead from Common.js 2014-11-21 12:04:43 +01:00
Tjatse
bf32318b2a 1. Make sure directories of logs and pods exist before logging. 2. Refactor: put startLogging into Common. 2014-11-21 11:22:35 +08:00
Unitech
f2ce631dd1 fix some stuff 2014-11-18 18:33:05 +01:00
Unitech
4f882acb33 refactor 2014-11-18 15:35:35 +01:00
Unitech
1b782e4a87 refactor 2014-11-18 15:30:09 +01:00
Unitech
1a52bddd78 Merge branch 'development' of github.com:Unitech/PM2 into development 2014-11-17 19:17:16 +01:00
jshkurti
e3fa143075 --max-memory-restart implemented 2014-11-17 17:47:52 +01:00
Tjatse
0c6c089f4f feature: merge std(out && err) 2014-11-17 17:17:49 +08:00
Antoine Bluchet
986b7921f7 Prevent the following error (#249) to happend when no script are mentioned
TypeError: Arguments to path.resolve must be strings
2014-11-14 11:40:32 +01:00
Jean-Nicolas LAGNEAU
7d3bd3fabe pm2 --interpreter is not needed anymore
pm2 now recognize the extension of the file but you can still use
interpreter flag for specific extensions.
2014-11-12 18:49:07 +01:00
jshkurti
6da3b459e7 pm2 pull <name> 2014-10-30 12:35:17 +01:00
Chris Wiggins
4845e66442 Change extend function to ignore pm2-related environment variables from the nested env 2014-10-28 13:48:05 +13:00
Chris Wiggins
b83bd1889d Allow a PM2-controlled process to start PM2 processes inside itself 2014-10-27 16:28:28 +13:00
tknew2
84db882c13 Fix daemonization 2014-10-10 11:48:33 +02:00
tknew2
f40710b0ab Interaction edits 2014-10-08 11:41:36 +02:00
tknew2
cdf2872feb refactor test folder structure - homogeneize pm2 protocols (pm2/pm2-interface/interactor) - write new test - fix cli double callback calls - God now exposes only Id process related methods (no all - no name), only CLI now do 'smart' operations - move deprecated God methods to deprecated.js 2014-09-21 00:39:12 +02:00
tknew2
3536259523 stop toggling #689 2014-09-08 18:21:47 +02:00
tknew2
bb124f6ea0 #690 2014-09-08 13:55:39 +02:00
tknew2
f7cd1ad835 add warning message if trying to reload a fork mode process 2014-09-05 16:27:16 +02:00
tknew2
9d7c28e61e README update - LICENSE 2014-09-04 13:20:35 +02:00
tknew2
1b6893da2a fix --watch (reflect API changes) 2014-08-24 22:03:43 +02:00
tknew2
1ec8ff6455 can restart script 2014-08-22 16:44:56 +02:00
tknew2
da677c6f54 close RPC connection on PM2 update 2014-08-17 16:31:01 +02:00
tknew2
6209324527 remove illegal caracter on filepath for log/pid files 2014-08-16 23:03:31 +02:00
tknew2
c69ba1f7cf fix deps - smarter cwd 2014-08-16 16:26:34 +02:00
tknew2
c865318d2b -max-memory-restart option - clean README - fix tests - node_args option added to JSON declaration - desc show node args - fix #487 #490 2014-08-14 15:40:30 +02:00
tknew2
348e000d5f update dependencies - refactor some stuff 2014-08-12 15:13:07 +02:00
tknew2
916328c528 pm2 reset metadata method - code hardening 2014-08-11 18:24:37 +02:00
tknew2
793660bfe0 serialize data 2014-08-11 16:48:18 +02:00
tknew2
797fd47443 Clean - add environment merge 2014-08-11 16:03:09 +02:00
tknew2
05c9afd345 Fix cwd 2014-08-11 15:36:38 +02:00
tknew2
d3d70a26c5 auto update interactor - test - refactor 2014-07-01 15:26:24 +02:00
tknew2
d3585bac6d logic to get set key and store interaction data in file 2014-07-01 14:30:14 +02:00
soyuka
290a5e58e7 Improved code format - Removed unused variables and not necessary semicolons 2014-06-20 19:24:21 +02:00
tknew2
8c818ee507 PM2 CLI/API flattening - test reorganization 2014-06-20 15:32:11 +02:00
tknew2
cf46c99303 add comments 2014-06-13 16:11:43 +02:00
tknew2
0e918f67c6 bump fixes 2014-06-12 14:29:32 +02:00
Ravi Sarma
ba33ec7e63 Fixes #495. Give higher precedence to env specified in JSON file, over shell environment. 2014-06-02 21:26:07 -04:00
sailxjx
9eaeb0e3a5 fix crash in pm2 desc id
add default exec_interpreter when startFromJson
2014-04-15 10:54:36 +08:00