1 创建脚本
cd /etc/init/
vi yourapp.conf
2 安装start/stop命令
apt-get install upstart-sysv
update-initramfs -u
reboot
3 start yourapp/stop yourapp
1 创建脚本
cd /etc/init/
vi yourapp.conf
2 安装start/stop命令
apt-get install upstart-sysv
update-initramfs -u
reboot
3 start yourapp/stop yourapp
本文标题:How to run NodeJS as a Service o
本文链接:https://www.haomeiwen.com/subject/juqbyftx.html
网友评论