682 Commits

Author SHA1 Message Date
Unitech
007231a042 allow array and string for watch option -- add some tests for JSON validation 2014-11-25 18:14:27 +01:00
Unitech
04bbcc73db merge from master 2014-11-25 17:04:40 +01:00
Alexandre Strzelewicz
82465733dc Merge pull request #838 from Tjatse/development
Revisions for dev branch
2014-11-25 16:59:42 +01:00
jshkurti
f1f829c8b8 Now Worker:Refresh is only applied to ahead and unstaged flags 2014-11-25 15:03:28 +01:00
Tjatse
8d6e7aebe3 1. add post_update schema; 2. fix log path bug. 2014-11-24 17:16:26 +08:00
Tjatse
1e017a546e recommends 2014-11-24 15:14:38 +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
Tjatse
cce859a338 CLI ignore_watch supports 2014-11-24 14:41:32 +08:00
Jamie
29e062e0ca small changes 2014-11-23 22:33:45 +08:00
Jamie
6a5712814e fix the directory or file not found bug when there is cwd key in JSON app declaration 2014-11-23 00:08:30 +08:00
Tjatse
167c7a57e5 1. Reload env graceful and peaceful, 2. Unify appConf - rename ignoreWatch to ignore_watch 2014-11-22 09:26:55 +08:00
jshkurti
c2e3581cb5 Worker: restart process if using 0 memory and status equals ONLINE 2014-11-21 16:53:14 +01:00
jshkurti
402190264f CLI Feature added: pm2 pull <name> [commit_id] // goes to commit_id if specified 2014-11-21 15:46:09 +01:00
Joni Shkurti
c0143cc5da Update ActionMethods.js 2014-11-21 14:54:00 +01:00
Unitech
197781ed57 check reload logs and avoid cb if error 2014-11-21 14:46:13 +01: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
jshkurti
29fc72b3e8 re-refactor worker 2014-11-18 18:14:34 +01:00
jshkurti
70f6a3b868 worker refactored fix fix 2014-11-18 16:57:10 +01:00
Unitech
d9a8157495 Merge branch 'development' of github.com:Unitech/PM2 into development 2014-11-18 16:12:24 +01:00
Unitech
6897118123 remove disconnect on log reload to continue interaction between procesess 2014-11-18 16:10:32 +01:00
jshkurti
9f73b9639c worker refactored 2014-11-18 15:41:20 +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
d56a919ec2 refactor startJson 2014-11-18 15:06:00 +01:00
Unitech
bbc70dd959 fix coffee test 2014-11-18 13:39:32 +01:00
Unitech
1a52bddd78 Merge branch 'development' of github.com:Unitech/PM2 into development 2014-11-17 19:17:16 +01:00
jshkurti
3865b242cb fix 2014-11-17 19:01:44 +01:00
jshkurti
e3fa143075 --max-memory-restart implemented 2014-11-17 17:47:52 +01:00
Tjatse
0f7f1a749b make sure stdio exist and graceful exit when reload/restart 2014-11-17 21:11:21 +08:00
Tjatse
bb54ac7a9d fix: when reload/restart is called, disconnect the previous at first. 2014-11-17 19:44:26 +08:00
Tjatse
50f69c0a53 Revert "fix: when reload/restart is called, disconnect the previous at first."
This reverts commit 7c27ff9331b905e63cd33b7f47158514e82fa38d.
2014-11-17 19:43:10 +08:00
Tjatse
7c27ff9331 fix: when reload/restart is called, disconnect the previous at first. 2014-11-17 19:34:28 +08:00
Tjatse
e90c18f486 Revert "fix: when reload/restart is called, listeners of stdio should be removed."
This reverts commit b94b659a1323eb7321642893f4f24f3bdbbb3301.
2014-11-17 19:17:51 +08:00
Tjatse
b94b659a13 fix: when reload/restart is called, listeners of stdio should be removed. 2014-11-17 19:09:38 +08:00
jshkurti
a68edc4208 workers tests are now more explicite 2014-11-17 11:23:28 +01:00
Tjatse
0c6c089f4f feature: merge std(out && err) 2014-11-17 17:17:49 +08:00
Unitech
75ef7d8b5d revert 2014-11-17 00:25:33 +01:00
Unitech
a4e9999f14 small fixes 2014-11-17 00:12:23 +01:00
Unitech
72dc4572ab cleanly close socket events 2014-11-17 00:00:06 +01:00
Unitech
d638442db6 listen only once 2014-11-16 23:19:33 +01:00
Unitech
61979dd96f avoid doublekill 2014-11-16 23:17:14 +01:00
Unitech
9e48f18c35 rebase interactor 2014-11-16 22:46:17 +01:00
Unitech
3b2d22ac70 Harden Lock - flatten concurrent action constant 2014-11-16 19:46:46 +01:00
Unitech
751b173c21 Clean Interactor 2014-11-16 18:38:16 +01:00
Unitech
df11ff64d5 only display id in debug 2014-11-16 14:40:29 +01:00
Unitech
d964c7468f add timeout exit to be backward compatible with pm2 update 2014-11-16 14:36:12 +01:00
Unitech
e49fd37eac sample-conf 2014-11-16 14:09:14 +01:00
Unitech
2ff51d673b refactor worker 2014-11-16 13:20:14 +01:00