Comments (4)
My bad it's there already. I'll give it a shot.
from pm2.
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.
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.
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)
- PM2 does not correctly send SIGINT to individual processes as it opens more threads HOT 1
- can we run .wasm file
- bug
- TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
- PM2 CLI Config File Name/Reference Anomaly
- SPA with basehref causes ENOENT
- Why can't I use TSX? Please help me translate this. HOT 1
- CLOSE
- Gives error cannot resolve pty.js and test.js
- PM2 Bucket is not launching on pm2 website
- [PM2] Spawning PM2 daemon with pm2_home/root/.pm2 HOT 1
- Unable to start scripts through npm
- `pm2 show` should display exp_backoff_restart_delay value if specified
- [RFC] - What can be the pros and cons if we use the PM2 with the node apps in Openshift and Kubernetes
- pm2 : Script /usr/bin/java had too many unstable restarts (16). Stopped. "errored"
- pm2 start app returning 502
- How to implement cross server application management in PM2 HOT 2
- Hot Code Swap HOT 1
- Process list incomplete after reboot HOT 6
- Simultaneous Deployments
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pm2.