From aeb6137d283efd779ab12b4d1ff6a55fabbbfcee Mon Sep 17 00:00:00 2001 From: Jaime Agudo Date: Sun, 21 May 2017 01:42:52 +0200 Subject: [PATCH] (readme) Update restart command usage (#2805) After 2.2 to 2.4 upgrade `restart` doesn't remember the named env it was deployed to --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7b68aab3..8e8d3dc7 100644 --- a/README.md +++ b/README.md @@ -156,9 +156,9 @@ $ pm2 stop $ pm2 restart $ pm2 delete ``` -To make sure it re-evaluates enviroment variables in your `json_conf` use +To make sure it re-evaluates enviroment variables declared in your `json_conf` pass it as argument, and optionally your custom `env` name from your `json_conf` if any: ```bash -$ pm2 restart +$ pm2 restart [--env ] ``` To have more details on a specific process: