如何在 Debian 平台上使用 pm2 启动命令? [英] How to use pm2 startup command on Debian platform?
本文介绍了如何在 Debian 平台上使用 pm2 启动命令?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这里是 GitHub 上文档的链接:https://github.com/Unitech/pm2#startup-script-生成--pm2-startup
Here is the link to the documentation on GitHub: https://github.com/Unitech/pm2#startup-script-generation--pm2-startup
它已设置为可与 Ubuntu/CentOS/Redhat 一起使用.我需要它与我的 Dreamhost VPS 一起工作,这是一台 Debian 机器.
It is setup to work with Ubuntu/CentOS/Redhat. I need it to work with my Dreamhost VPS which is a Debian machine.
有人可以告诉我如何调整初始化脚本以使其在 Debian 机器上工作吗?谢谢!!
Can someone advise me on how I might tweak the init script to make it work on a Debian box? Thanks!!
推荐答案
试试ubuntu解决方案.由于 ubuntu 是一个 debian fork,它应该可以在那里工作.
Try ubuntu solution. Since ubuntu is a debian fork, it should work there.
这篇关于如何在 Debian 平台上使用 pm2 启动命令?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文