Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 3 months ago
JSON representation

Utility to make PM2 automatically resurrect on Windows startup

Awesome Lists containing this project

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