64 Commits

Author SHA1 Message Date
Dominique Rau
b7c2a56e8c Change default exec mode to fork in prepareConf
Should behave the same as cli (cli should probably use common.prepareConf instead of verifying the conf manually).
2015-08-03 16:21:31 +02:00
jshkurti
ec8b03e78e fix #1468 2015-07-27 17:12:58 +02:00
Tjatse
3afad15fa0 Exits after everything written to stdout has been drained. 2015-06-26 11:01:06 +08:00
Unitech
4848e5c974 avoid safe stringification and JSON.parsing to deep copy and remove circular dependencies + centralize object cloning + reduce data in pm2 pipeline + avoid complex object attached to pm2_env #1326 #1314 2015-06-09 17:30:16 +02:00
jshkurti
0629b9d000 v0.12.15 pre-release 2015-05-18 19:23:30 +02:00
--global
911ae4e299 next-gen-js 2015-05-01 19:24:26 -04:00
--global
c28ab818cf Merge branch 'master' of https://github.com/ww24/PM2 into ww24-master 2015-04-22 10:05:56 -04:00
Unitech
b0c8f1b7d9 Temporary basic alert message before refactoring pre json validation 2015-04-15 00:32:46 -04:00
Takenori Nakagawa
b3c387c1ff fix #1124 wrong handling of PM2_PROGRAMMATIC flag 2015-03-26 03:05:52 +09: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