154 Commits

Author SHA1 Message Date
Unitech
c7586c18c2 (aggregator) more failchecks + fix actionmethods pm2_env edge case 2017-03-29 19:49:00 +02:00
xuezhongxiong
bb31516d81 fix the "restart_task" enumerable problem. 2017-02-16 17:55:51 +08:00
xuezhongxiong
79de7657bc add a new props :"proc.pm2_env.restart_task" to solve the problem : "process still restart after it be stop or delete." 2017-02-16 16:15:27 +08:00
Unitech
2ef97b83d6 #2530 make sure processess are stopped on direct system signal 2016-11-22 18:33:36 +01:00
Unitech
f57ee1656d #2509 trigger functions inside your Node app from PM2 CLI 2016-11-11 16:04:19 +01:00
Unitech
d0a3f4902e (god)(stopProcessId) refactor: now it only kill process without disconnecting in cluster mode 2016-10-29 17:27:24 +02:00
vmarchaud
6ec098ed02 Merge pull request #2472 from Unitech/readyevent
Wait ready event to set application as started
2016-10-27 14:08:37 +02:00
Unitech
0f11094a9a (fix) 2016-10-27 13:50:07 +02:00
Unitech
334558a5a0 #2468 fix deprecation warning for Node 7 and cluster module 2016-10-27 12:53:52 +02:00
vmarchaud
1d19cf2269 (feature) wait for application ready event when asked 2016-10-26 18:53:05 +02:00
Unitech
f6b550ca4e #2471 make env immutable and fix watch 2016-10-26 18:07:03 +02:00
Unitech
3a8a2a6afa (log) do not log pid not found when using modules 2016-09-28 14:43:51 +02:00
Unitech
9821ca03af (pm2)(watch) fallback to watch & restart instead of watch & reload 2016-08-06 20:58:16 -07:00
Unitech
18e32272e6 #2312 fix unavailable cpu usage for modules 2016-08-02 20:09:12 -07:00
Unitech
224bc41d84 check if pid is integer 2016-07-05 15:06:25 +02:00
Unitech
e2d4dd187f display error message if pidusage fail 2016-07-05 00:33:02 +02:00
Unitech
6a2d52d400 upgrade fclone + add back v8-profiler + drop findByFullPath in Daemon + add CLU formating + test with development pm2-axon-rpc 2016-07-03 14:18:03 +02:00
Unitech
6b857cf08b fix test / modify getFormatedProcess / getMonitorData 2016-06-30 17:49:29 +02:00
Unitech
24eae5a15a refactor getFormatedProcess + getMonitorData 2016-06-30 15:59:08 +02:00
Unitech
9831cd632e watcher now reload app instead of restart 2016-06-14 12:47:13 +02:00
Unitech
ac9fcdc8ec Daemon is now a class 2016-06-04 19:58:29 +02:00
Arkotek
610d68f8d7 remove useless require 2016-05-27 04:37:45 +02:00
Unitech
20344a58f1 #2188 remove any possibility for Daemon to require Satan.js 2016-05-27 00:59:50 +02:00
Unitech
ce56d83719 remove deepReset and findByScript unused methods from God Daemon 2016-04-03 12:38:14 +02:00
Unitech
c3c0fcff46 add Copyright header to each file 2016-03-22 23:33:43 +01:00
Unitech
68ac3c1c79 restore normal behavior 2016-03-21 22:59:21 +01:00
Unitech
357e28b351 do not reset process ids + avoid restart of delete processes (affected due to restart-delay) 2016-03-21 22:22:57 +01:00
Unitech
c3ea256c2e enhacement: remove deprecated calls / adapt tests / return acted process deleteProcessId/stopProcessId 2016-03-21 18:02:51 +01:00
Unitech
ba95a80387 #1830 - send SIGINT as default first signal 2015-12-11 16:07:04 +01:00
Unitech
10b6a67bc0 #1825 - add back official commander and patch it in bin/pm2 2015-12-11 15:18:58 +01:00
Unitech
b9256cea26 slightly change prototype of .sendDataToProcessId 2015-12-08 19:29:28 +01:00
Unitech
5db52ee383 #1822 new method pm2.sendDataToProcessId 2015-12-08 16:57:38 +01:00
Antoine Bluchet
70e7765209 stopProcessId was not accepting an object
Removed bash tests from pm2_behavior_tests.sh
2015-09-09 10:13:18 +02:00
jshkurti
c6353eaee8 now sends SIGKILL if the process cant be killed with SIGINT 2015-08-04 18:28:13 +02:00
Unitech
d392086ed9 Merge branch 'development' of https://github.com/Unitech/PM2 into development 2015-06-29 18:43:31 +02:00
Unitech
2946517611 Add pm2 support for scoped custom functions 2015-06-29 18:43:27 +02:00
Antoine Bluchet
def6d0b5b6 Add a --no-treekill option to avoid killing detached processes 2015-06-26 14:52:32 +02:00
jshkurti
1915fdd43f treekill only in cluster mode 2015-06-24 16:23:27 +02:00
jshkurti
2552dee3fe reset God.next_id when list of apps is empty 2015-06-18 12:20:06 +02: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
Unitech
6e1d887fef allow parameters for custom actions - add tests 2015-05-28 17:29:32 -04:00
jshkurti
dea0583031 fix #1285 2015-05-26 16:37:52 +02:00
Joni Shkurti
46d28c8d64 reverted 1 commit 2015-05-06 00:07:29 +02:00
--global
2d7042032e Merge branch 'development' of github.com:Unitech/PM2 into development 2015-04-30 22:55:12 -04:00
jshkurti
011f33cbf0 force vizion when app restarted manually 2015-04-28 16:07:54 +02:00
Joni Shkurti
cc5ff341d3 reverted commit about fn-arity 2015-04-25 21:57:39 +02:00
--global
10cfb6728b optimize fn arity of watch methods 2015-04-23 17:38:36 -04:00
--global
264e84a2ea pm2 scale <app_name> <number> 2015-04-21 23:37:46 -04:00
Unitech
7f0164a67a do not dump module with God. 2015-04-20 17:48:40 -04:00
Unitech
8c15987763 Return formated error 2015-04-16 12:39:34 -04:00