Raphael Luba
1b0a89dc83
Fix: Callbacks for process.stdout / .stderr ( #2810 )
...
* Fix callbacks for process.stdout /.stderr
The overrides for `process.stdout.write` and `process.stderr.write` did not invoke the provided callbacks when they’re done.
* Fix: write callback is an optional parameter
* Append encoding parameter to all calls
2017-05-21 01:51:43 +02:00
vmarchaud
64b0793d19
(tests) fix newly added tests + remove aggregation bug
2017-05-21 01:39:30 +02:00
PoppinL
678264519a
(bugfix) #2868 : fix --raw not display previous logs ( #2876 )
2017-05-21 01:29:19 +02:00
pva
0bcee6f8d1
Improve gentoo init script ( #2849 )
...
Use default start() function that is configured with command* variables.
It'll use start-stop-daemon to start daemon and check that pidfile was
created.
Allow user to override user that will be used to run pm2 daemon. As a
consequence install init script with pm2 name instead of pm2-root.
Provide some information on how to start services aftewards.
Make reload function working.
2017-05-21 01:28:31 +02:00
vmarchaud
53c88bdc50
(interpreter) dont reset interpreter to node when isBinary return false #2847
2017-05-21 00:58:16 +02:00
vmarchaud
da7f7698b9
(docker) better auto exit trigger ( #2861 )
2017-05-21 00:49:09 +02:00
PoppinL
64fe775ce3
(update) #2872 : no load balance warn for 1 instance config ( #2875 )
2017-05-21 00:41:27 +02:00
vmarchaud
2d0e9370c6
(fix) verify that prepare returned data to avoid undefined error #2870
2017-05-21 00:40:19 +02:00
vmarchaud
76803d7c2f
(daemon) allow to override daemon process name via env
2017-05-21 00:30:35 +02:00
Unitech
d72509e637
#2867
2017-05-10 15:17:47 +02:00
Unitech
ce7411d863
change client id for register via CLI + timeout on test
2017-05-04 18:47:48 +02:00
Unitech
a962536711
fix node_modules folder not create on npm 4.2.0
2017-05-04 02:01:26 +02:00
Unitech
c081c2356a
(tracing) add outbound query
2017-04-30 16:08:06 +02:00
Unitech
38da034934
change motd message
2017-04-29 18:50:49 +02:00
Unitech
5c2c2c26dd
refactor code + fix edge case + pm2 open command to open browser
2017-04-29 18:30:51 +02:00
Unitech
9eca957336
register/login/autolink/browser open from CLI
2017-04-29 17:56:51 +02:00
Unitech
23ba6e9217
add pm2 register to autolink
2017-04-29 03:47:42 +02:00
Unitech
09b7c5e172
pm2 monitor|umonitor <pm_id|app_name|all>
2017-04-29 02:08:46 +02:00
Unitech
a54d886093
restore 0.12 support
2017-04-27 00:42:05 +02:00
Unitech
1a405281ea
restore previous banner
2017-04-23 02:24:59 +02:00
Unitech
22b2982415
(modules) change wording
2017-04-22 17:04:18 +02:00
Unitech
4bca84ef74
(km) rename method + better init message
2017-04-22 15:58:28 +02:00
Unitech
bd87549975
drop 0.12 support #2846
2017-04-22 15:27:58 +02:00
Unitech
e7fcd16a9b
#2845 open editor on pm2 conf or pm2 set cmd
2017-04-22 15:15:39 +02:00
Unitech
2a5a9153c9
2844 Flush default module configuration to pm2 config
2017-04-22 15:12:03 +02:00
Unitech
c0f7bb9022
(API) fix calling next instead of cb
2017-04-21 16:37:29 +02:00
Unitech
7b0dbee375
#2829 display warning message when --env does not exists
2017-04-21 16:36:59 +02:00
vmarchaud
7afecdc8f4
(tests) add unit test for getCanonicModuleName method
2017-04-19 16:57:20 +02:00
Martin Zaloudek
b8b615111e
Fix #2809 . Fixed the broken installation of modules specified as Github repository with non-master branch. Fixed the broken upgrade of modules specified by Github source (old version was not been removed, therefore two instances existed in memory after upgrade). ( #2840 )
2017-04-19 16:53:44 +02:00
Antoine Bluchet
f98ded6b71
Fix #2815 nodejs 0.11 compatibility is Absolute ( #2816 )
2017-04-06 23:52:50 +02:00
Unitech
f91038c698
#2818 pm2-docker -> pm2-runtime + tests
2017-04-06 22:56:05 +02:00
Luis Lobo Borobia
211c4714d6
fix logrotate template ( #2814 )
...
* It should only log rotate on log files
As explained in https://github.com/Unitech/pm2/issues/2498#issuecomment-263678535 :
The logs are being saved as index-out-0.log and index-error-0.log.
If you just leave /home/user/.pm2/pm2.log /home/user/.pm2/logs/*, the first time logrotate runs, it generates index-out-0.log.1. The second time it runs it generates index-out-0.log.1.1, and it continues creating files for each file found, since you are including all files.
It should be reverted back to *.log or *log
2017-04-06 10:50:37 +02:00
Unitech
6f96e52569
(banner) switch banners
2017-04-05 06:01:21 +02:00
Unitech
839957755f
test case
2017-04-05 05:14:20 +02:00
Unitech
cde09059b4
(interactor) hot fix
2017-04-05 00:04:37 +02:00
Unitech
2fb5b76ca8
#2806
2017-04-04 23:55:43 +02:00
vmarchaud
30c5ba65f2
(aggregator) add a regex for new identifier
2017-03-30 12:22:17 +02:00
Unitech
dafa705ede
(interactor) now agent crash is rescuable
2017-03-29 20:48:49 +02:00
Unitech
9d8251e772
(interactor) cache some variables
2017-03-29 20:36:44 +02:00
Unitech
c7586c18c2
(aggregator) more failchecks + fix actionmethods pm2_env edge case
2017-03-29 19:49:00 +02:00
Unitech
a5bbf25ddc
(stackparser/cache) harden test + fixes
2017-03-29 19:04:57 +02:00
vmarchaud
a86277aeb3
(stackparser) add null check
2017-03-29 15:36:50 +02:00
vmarchaud
9ad13a1a86
Merge branch 'development' of github.com:Unitech/pm2 into development
2017-03-29 11:21:35 +02:00
vmarchaud
07b19ec5fd
(aggregator) rename inquisitor to outlier
2017-03-29 11:21:31 +02:00
Unitech
a1adf2e7a0
(template) change dbl quote to simple quote for ecosystem template
2017-03-28 22:44:22 +02:00
vmarchaud
5a5d52ccb5
(aggregator) modify inquisitor structure
2017-03-28 17:52:34 +02:00
vmarchaud
d99def20f9
Merge branch 'development' of github.com:Unitech/pm2 into development
2017-03-28 14:17:26 +02:00
vmarchaud
9954418fcf
(aggregator) dont censor in debug + fix
2017-03-28 14:17:19 +02:00
willmcenaney
0e6cc4946e
Fixed absolute paths in process files #2796 ( #2797 )
...
* Fixed absolute paths in process files #2796
2017-03-28 14:13:00 +02:00
vmarchaud
21fdce82aa
(aggregator) send span name + tests
2017-03-27 16:14:46 +02:00