Coder Social home page Coder Social logo

Init scripts ? about pm2 HOT 4 CLOSED

unitech avatar unitech commented on September 23, 2024
Init scripts ?

from pm2.

Comments (4)

zbal avatar zbal commented on September 23, 2024

My bad it's there already. I'll give it a shot.

from pm2.

Unitech avatar Unitech commented on September 23, 2024

I updated the script to reflect the latest changes of PM2.
Tried on Ubuntu server everything is okay ;)

Be sure to update pm2 to the latest version :

npm install pm2@latest -g

https://github.com/Unitech/pm2#a8

Tell me if everything is good !

from pm2.

alumowa avatar alumowa commented on September 23, 2024

Tried it on Ubuntu 12.04 and it seems to work.

I did notice that every time a command is issued, pm2 was getting executed by NPM2=$NODE $PM2 so it was printing the command list before stopping/starting.

from pm2.

Unitech avatar Unitech commented on September 23, 2024

The useless variable was removed, the init script works well on Debian + Ubuntu.
Now I should make it compatible with Arch and CentOS

Closing,
Ty

from pm2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.