From f2115a0c6145a8d909193273dce74db3f3b37935 Mon Sep 17 00:00:00 2001 From: Key Networks <34238649+key-networks@users.noreply.github.com> Date: Thu, 21 Dec 2017 12:14:55 +0800 Subject: [PATCH] Execute "pm2 save" to persist across reboots --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c167d48..84b797f 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,12 @@ To detect the init system: pm2 startup ``` -PM2 will then give you a command to execute to configure pm2 startup for your system. +PM2 will then give you a command to execute to configure automatic startup of PM2 for your system. + +Save the current PM2 process list so that ztncui will restart across reboots: +```shell +pm2 save +``` ##### 7. Test access on http://localhost:3000 If the machine has a GUI and GUI web browser, then use it to access the app, otherwise use a text web browser like Lynx or a CLI web browser like curl: