From 390eeb9b0718f6736600cbfa47d3d2983cde01d9 Mon Sep 17 00:00:00 2001 From: Pitu Date: Tue, 12 Mar 2019 04:45:47 +0000 Subject: Automated pm2 process spawn --- docs/pm2.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/pm2.md') diff --git a/docs/pm2.md b/docs/pm2.md index 53fc5b0..ac942fc 100644 --- a/docs/pm2.md +++ b/docs/pm2.md @@ -4,8 +4,8 @@ The best way to keep the service running in case of crashes or unexpected issues The recommended way to set it up is to run the commands below, one for the API and the other for the site. ``` -pm2 start npm --name "lolisafe.api" -- run api -pm2 start npm --name "lolisafe.site" -- run site +pm2 start npm --name "lolisafe-api" -- run api +pm2 start npm --name "lolisafe-site" -- run site ``` -All set, if you want to check the logs you can `pm2 logs lolisafe.api` or similar. +All set, if you want to check the logs you can `pm2 logs lolisafe-api` or similar. -- cgit v1.2.3