Closed RepoBike closed 6 years ago
You can run z-nomp in the Background with
pm2 start npm -- start
And see the logs with
pm2 logs
Thank you. I will try this when I get the network hash rate working.
I personally use forever for this in my ~/.zshrc I've added this
alias starz="cd /root/z-nomp; forever start -c 'npm start' -a -l /root/z-nomp.log ./; grc tail -f /root/z-nomp.log"
stopz() {
pid=`forever list | grep npm | head -n1 | awk '{ print $3}'`
cp /root/z-nomp.log /root/z-nomp.`date +%s`.log
forever stop $pid
sleep 5
pid=`pgrep node | head -n1`
while [ "$pid" ]; do
kill $pid
echo "$pid is killed"
sleep 1
pid=`pgrep node | head -n1`
done
}
After it running is easy i just enter starz to run and stopz to stop, logs are in /root directory
How do I run Z-nomp in the background on Ubuntu 16?
How do I fix the network stats? I'm not getting any errors on BTCZ and ZEC Wallets or Z-nomp.