> npm install pm2-windows-startup -g > pm2-startup install PM2 will now automatically revive the saved processes on startup. To save the current list of processes execute: > pm2 save Readme Keywords pm2 windows boot start startup
A free, fast, and reliable CDN for pm2-windows-startup. Utility to make PM2 automatically resurrect on Windows startup
2. 按照官方文档Windows & pm2 :: RustDesk文档,安装PM2如果遇到PM2的安装问题,执行 npm build pm2-windows-startup -g 3. 下载服务器程序(已编译的程序),官方很贴心的提供了各种系统的安装版本,直接下载即可 4. cd到服务器目录,按文档的命令顺序启动。
I'm on Windows 10, the pm2 startup command fails with this error: C:\Users\Rocco\AppData\Roaming\npm\node_modules\pm2\lib\CLI.js:562 if (process.getuid() != 0) { ^ TypeError: undefined is not a function at Object.CLI.startup (C:\Users\Ro...
nssm.exe install Path: C:\etc\.pm2\pm2-startup.bat Startup directory: C:\etc\.pm2\ Service name: Pm2Startup Exit action > Restart: none Details > Startup type: Delayed startup 👍 4 soyuka mentioned this issue Jul 21, 2015 Auto startup pm2 on windows server 2012 (or other ...