https://github.com/nikolvs/pm2-formula
Formula to install PM2 and setup apps via pillar.
https://github.com/nikolvs/pm2-formula
Last synced: about 2 months ago
JSON representation
Formula to install PM2 and setup apps via pillar.
- Host: GitHub
- URL: https://github.com/nikolvs/pm2-formula
- Owner: nikolvs
- License: mit
- Created: 2016-08-22T21:18:18.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-25T19:04:29.000Z (almost 10 years ago)
- Last Synced: 2025-12-28T09:47:44.626Z (6 months ago)
- Language: SaltStack
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
=====
pm2
=====
Formula to install PM2 and setup apps via pillar.
.. note::
See the full `Salt Formulas installation and usage instructions
`_.
Available states
================
.. contents::
:local:
``pm2``
-------
Runs the states to install PM2, bootstrap startup script, start apps and save processes.
``pm2.install``
---------------
Install PM2.
``pm2.startup``
---------------
Create script to auto ressurect PM2 apps at startup time.
``pm2.start``
-------------
Starts PM2 apps defined in the pillar.
``pm2.delete``
--------------
Deletes PM2 apps defined as 'absent' in the pillar.
``pm2.save``
------------
Save PM2 current process list. Uses startup script 'home_path' if defined.