vmarchaud
dab8b072fa
(interactor) implement a 30 ttl for cached file in ram ( #2763 )
2017-06-21 13:33:47 +02:00
vmarchaud
840865ec1d
(interactor) find context by finding error callsite with regex
2017-06-20 21:15:08 +02:00
vmarchaud
6d5f5bff1e
(interactor) attach logs based on application name
2017-06-20 21:14:43 +02:00
vmarchaud
006a28a4fd
(god) handle invalid instances number #2953
2017-06-20 10:54:15 +02:00
Gabriel J. Csapo
4b139a381c
updates async version
2017-06-07 18:55:29 -07:00
vmarchaud
129a81c10f
(tests) add test for increment_var and instance_var options
2017-06-06 17:25:35 +02:00
vmarchaud
d43e44f8b2
(instance_var) allow to overide the key NODE_APP_INSTANCE #2045
2017-06-06 15:57:32 +02:00
vmarchaud
35945e82d0
(increment) allow to increment a env variable with a options #2743
2017-06-06 15:49:43 +02:00
Dinesh Balaji
f1bf777692
Update pm2 logs to accept regex for names ( #2924 )
2017-06-06 14:15:39 +02:00
Libin Lu
0473099e32
add wait ready for cluster mode ( #2904 )
...
* add wait ready for cluster mode
2017-05-25 23:53:22 +02:00
vmarchaud
ebddff2db0
(interactor) add randomized bytes to default hostname when linking #2906
2017-05-25 23:47:45 +02:00
Michiel De Mey
9433f1fc16
Stripping environment variables from the HttpInterface ( #2895 )
...
* Fixes 452
* Renamed to `proc`
* Default to false to keep backwards compatibility
2017-05-23 23:48:21 +02:00
vmarchaud
22df02093e
(tests) fix failing tests
2017-05-21 11:58:38 +02:00
masted
6648847230
"Not any default deployment file exists" error explanation ( #2754 )
2017-05-21 01:53:23 +02:00
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