Hello Everyone,
Does anyone have a clear documentation on how to setup the upstart? I keep getting an error that bitcored can’t not be found.
This is what the script looks like:
description "Bitcore Daemon"
author “BitPay, Inc.”
limit nofile 20000 30000
start on runlevel [2345]
stop on runlevel [016]
kill timeout 300
kill signal SIGINT
setuid bitcore
env HOME=/home/user/my_Node
respawn
respawn limit 5 15
script
exec bitcored
end script
When I run the code:
/var/log/upstart$ sudo service bitcore start
bitcore start/running, process 10111
In my log file:
/var/log/upstart$ sudo cat bitcore.log
/bin/sh: 1: exec: bitcored: not found
/bin/sh: 1: exec: bitcored: not found
/bin/sh: 1: exec: bitcored: not found
/bin/sh: 1: exec: bitcored: not found
/bin/sh: 1: exec: bitcored: not found
/bin/sh: 1: exec: bitcored: not found
Your help is greatly appreciated