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
Jaime Agudo
aeb6137d28
(readme) Update restart command usage ( #2805 )
...
After 2.2 to 2.4 upgrade `restart` doesn't remember the named env it was deployed to
2017-05-21 01:42:52 +02:00
vmarchaud
64b0793d19
(tests) fix newly added tests + remove aggregation bug
2017-05-21 01:39:30 +02:00
vmarchaud
f31f8f3cc7
(readme) typo
2017-05-21 01:30:53 +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
vmarchaud
1343478138
(daemon) allow to override daemon configured paths via env #438
2017-05-21 00:28:57 +02:00
Unitech
d72509e637
#2867
2017-05-10 15:17:47 +02:00
Unitech
af4091e9b1
pm2-daemon
2017-05-10 12:38:09 +02:00
Unitech
5821495ab7
longer timeout on web interface test
2017-05-04 18:50:53 +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
c221a4d361
add missing package
2017-04-29 18:52:32 +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
cf64a644ea
fix conflict
2017-04-29 00:09:30 +02:00
Unitech
bede36c78f
pm2@2.4.6
2017-04-27 00:44:50 +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
Unitech
ef9b1bed10
Merge branch 'master' into development
2017-04-21 16:00:03 +02:00
vmarchaud
acb1455efc
(tests) node 0.12 compatibility
2017-04-19 19:24:19 +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
Unitech
e18d976788
drop optional package
2017-04-16 17:17:56 +02:00
vmarchaud
4bd463741b
(changelog) update
2017-04-06 23:55:01 +02:00
Antoine Bluchet
f98ded6b71
Fix #2815 nodejs 0.11 compatibility is Absolute ( #2816 )
2017-04-06 23:52:50 +02:00
vmarchaud
1577535be0
(package) upgrade required nodejs version to 0.12
2017-04-06 23:51:25 +02:00
Unitech
f91038c698
#2818 pm2-docker -> pm2-runtime + tests
2017-04-06 22:56:05 +02:00
Unitech
fe4d3fd35c
Merge branch 'master' into development
2017-04-06 22:06:58 +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
68bebfd2af
(github templates) simpler template
2017-04-05 06:14:01 +02:00
Unitech
e2f007b8ee
yamljs@0.2.9
2017-04-05 06:01:49 +02:00
Unitech
6f96e52569
(banner) switch banners
2017-04-05 06:01:21 +02:00
Unitech
839957755f
test case
2.4.4
2017-04-05 05:14:20 +02:00