1.1.1 • Published 10 months ago

pm2-sync v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

pm2-sync

Manage your pm2 apps with an ease.

Usage

npx pm2-sync sync pm2.config.js

Then you can see your pm2 applications listed in pm2.conf:

# in dev.conf
. stopped-application
$ running-application

You can manage your pm2 applications by modifying pm2.conf, just update the first character of each line and save it:

+ start-application
- stop-application
@ restart-application
! delete-application

pm2-sync will manage the applications for you:

updating
starting start-application...
stopping stop-application...
restarting restart-application...
deleting delete-application...
updated

pm2-sync sync

Synchronize pm2 process with process managing file.

[path...]

Paths to pm2 configuration files.

-c, --config [path]

Path to process managing file. Default: pm2.conf.

pm2-sync start

Start synchronize task in background with pm2. Any arguments for sync command can be passed.

-n, --name [name]

Name for synchronize task in pm2.

1.1.1

10 months ago

1.1.0

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago