145 Commits

Author SHA1 Message Date
Unitech
24333f434e homogeneize getDate 2014-12-03 14:58:29 +01:00
Unitech
0b3a2c693e State ERRORED_STATUS like stopped/stopping - calling reloadProcessId restart if app stopped or not cluster_mode (fix pull&reload bug) - change exec logic order - flattify Methods.backward 2014-11-26 01:03:53 +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
Unitech
6897118123 remove disconnect on log reload to continue interaction between procesess 2014-11-18 16:10:32 +01:00
Unitech
1b782e4a87 refactor 2014-11-18 15:30:09 +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
Tjatse
0c6c089f4f feature: merge std(out && err) 2014-11-17 17:17:49 +08:00
Unitech
3b2d22ac70 Harden Lock - flatten concurrent action constant 2014-11-16 19:46:46 +01:00
Unitech
d964c7468f add timeout exit to be backward compatible with pm2 update 2014-11-16 14:36:12 +01:00
jshkurti
1e62258e19 refactor test LockSystem 2014-11-14 19:12:32 +01:00
tknew2
4a8b0fe1fb CLI.kill now wait for system signal from PM2 2014-11-14 17:59:14 +01:00
tknew2
6c4a6ff3fd return cb(err) if process name unknown 2014-11-13 20:01:28 +01:00
tknew2
71c2af2a72 more verbosity on Interactor when running on Travis 2014-11-13 17:55:09 +01:00
Chris Wiggins
c3b99784bf Move IPC channel to FD4. Fixes #659 2014-11-08 08:52:00 +10:00
tknew2
8dbdf00b36 rename PM2 and clustered processes when running (vizible with ps or htop) 2014-11-07 01:25:44 +01:00
tknew2
48483f2427 enable module configuration from inside script 2014-11-05 03:05:35 +01:00
tknew2
342f9299c5 #787 #782 2014-10-30 12:22:39 +01:00
tknew2
64c7868cde Merge branch 'master' of https://github.com/adrianocola/PM2 into adrianocola-master 2014-10-28 12:44:24 +01:00
tknew2
583601b09c Locksystem - remote control protocol 2014-10-28 12:16:00 +01:00
tknew2
ad5be9213e Lock System - reactivate God tests 2014-10-26 22:11:57 +01:00
tknew2
1db11945ac LockSystem 2014-10-26 21:41:12 +01:00
EC2 Default User
e1d2ce8411 Added environment variable PM2_GRACEFUL_LISTEN_TIMEOUT to define how much time pm2 will wait for the child process to send a listening event in cluster mode before sending the shutdown message to the old process 2014-10-25 20:23:48 +00:00
tknew2
92df9cbaaf Polishing interface 2014-10-25 13:28:07 +02:00
tknew2
b727d5939f fix remote actions 2014-10-23 17:21:49 +02:00
tknew2
1fe1fdf8ca close logs 2014-10-15 13:39:30 +02:00
tknew2
cc77eeeb86 remove run-as-user options 2014-10-15 12:05:06 +02:00
tknew2
31f42430f2 #747 2014-10-15 12:01:45 +02:00
tknew2
569e938900 upgrade fallback module - reverse code 2014-10-10 17:58:14 +02:00
tknew2
2058825fd9 unbind all event on force iddle state 2014-10-10 17:43:58 +02:00
tknew2
b3d6fa06ab harden core 2014-10-10 17:13:20 +02:00
Joni Shkurti
d914a9963d even hardReaload now sends 'shutdown' event before killing a worker 2014-10-10 14:37:18 +02:00
Joni Shkurti
fe92e71f7d treekill implemented 2014-10-09 17:28:29 +02:00
tknew2
3c42ea4208 globalize interactor - update README.md - upgrade axm 2014-10-09 14:15:13 +02:00
tknew2
f40710b0ab Interaction edits 2014-10-08 11:41:36 +02:00
Joni Shkurti
59169426cb refactor gracefulReload (bis) 2014-10-07 16:11:25 +02:00
Joni Shkurti
77ede030e8 test reseau 2014-10-07 14:30:05 +02:00
Joni Shkurti
0c1fa8b51d fix God.deleteProcessId 2014-10-06 16:59:21 +02:00
Joni Shkurti
c5ad72fe4d refactor God.stopProcessId 2014-10-06 15:30:38 +02:00
Joni Shkurti
c9f5502c7a refractored graceFulReload hotfix 2014-10-03 21:05:32 +02:00
Joni Shkurti
00f3c10272 refractored graceFulReload 2014-10-03 20:44:06 +02:00
tknew2
bb4eb57568 God.dumpProcessList method added 2014-10-01 19:32:53 +02:00