https://github.com/marklagendijk/node-pm2-windows-startup
Utility to make PM2 automatically resurrect on Windows startup
https://github.com/marklagendijk/node-pm2-windows-startup
Last synced: about 1 year ago
JSON representation
Utility to make PM2 automatically resurrect on Windows startup
- Host: GitHub
- URL: https://github.com/marklagendijk/node-pm2-windows-startup
- Owner: marklagendijk
- License: mit
- Created: 2015-07-13T21:55:10.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-03-28T09:37:20.000Z (about 8 years ago)
- Last Synced: 2025-04-04T01:16:55.295Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 223
- Watchers: 6
- Forks: 26
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - pm2-windows-startup
README
# pm2-windows-startup
Utility to make [PM2](https://github.com/Unitech/PM2) automatically resurrect on Windows startup. The utility achieves this by adding the right registry entry, using [start-on-windows-boot](https://github.com/marklagendijk/node-start-on-windows-boot).
## Installation and usage
``` bash
> 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:
``` bash
> pm2 save
```
## Uninstall
```bash
> pm2-startup uninstall
```
This removes the registry entry that starts the process on startup