Start bitcore as a service

(Roie Bachar) #1

Please help,
I have installed the full node successfully, but I am unbale to start it as a demon,
It is installed on GCP Compute Engine(Ubuntu 16.04),
I followed the following link:
and I took the startup script from:

my user name: roie

I have set bitcore.conf in /etc/init/ folder , but the service does not even presented in the services , and the file just seems to sit there.

description "Bitcore Daemon"
author “Roie”

limit nofile 20000 30000

start on runlevel [2345]
stop on runlevel [016]

kill timeout 300
kill signal SIGINT

setuid bitcore

env HOME=/home/roie/.bitcore

respawn limit 5 15

exec /home/roie/.nvm/versions/node/v4.9.1/bin/bitcored
end script

can someone point me in the right direction?


Run it manually in a tmux session.

sudo apt install tmux
bitcore start


tmux attach #0