Unitech / pm2

Node.js Production Process Manager with a built-in Load Balancer.
https://pm2.keymetrics.io/docs/usage/quick-start/
Other
41.53k stars 2.62k forks source link

Node Script load #5640

Open k7n2g opened 1 year ago

k7n2g commented 1 year ago

Hi need help, please Have set up a Blockchain node but can't get Script in ecosystem.config.js to work

This is setup module.exports = { apps : [{ name : "Qbit/build/src", script : "./QbitNetworkd --load-checkpoints default --enable-blockexplorer-detailed --rpc-bind-ip=0.0.0.0 --rpc-bind-port=22101 --fee-amount 10 --fee-address QBC9V3fD5orFayFPLDYxbhVD2m2ZamJL81XRde1iKa4eHFyEvkzeTy541QwB8RTKzz1sy6pFouk7K8fxBkcqkSw44BiBPBSYms ", }] }

Tried changing name etc but this is how script runs in terminal When run it tells me --load-checkpoints default and other variables same tried removing them and leaving just ./QbitNetworkd still gives error any ideas please

dimitriaatos commented 5 months ago

What's the error you're getting? Perhaps you have a line break in the script string which is not valid javascript syntax.