我正在尝试启动两个永久实例,但它不起作用
#Start node@4040 node@5050 con forever
description "node@4040 node@5050"
start on (local-filesystems and net-device-up IFACE=eth0)
stop on shutdown
script
cd /var/node/
exec forever start -l /var/node/logs/for5050.log -o /var/node/logs/out5050.log -e /var/node/logs/err5050.log app.js 5050
exec forever start -l /var/node/logs/for4040.log -o /var/node/logs/out4040.log -e /var/node/logs/err4040.log app.js 4040
end script
有什么问题?谢谢你。