Execute "pm2 save" to persist across reboots

This commit is contained in:
Key Networks 2017-12-21 12:14:55 +08:00
parent e30386d4fd
commit f2115a0c61

View File

@ -99,7 +99,12 @@ To detect the init system:
pm2 startup 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 ##### 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: 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: