How to Run ltzcore as a Daemon with Upstart

This guide explains the steps to setup ltzcore as a daemon on Linux using the upstart init daemon.

Create a Daemon user

Create a `ltzcore` user and switch over to using it.

useradd -r -m ltzcore

sudo su - ltzcore

Install Node.js v4 LTS

It's recommended to install the Node Version Manager, as this makes it simple to switch between different Node.js versions. We will specifically need to install and run v0.12 or v4 LTS.

Please follow the directions at []( and then run:

nvm install v4

nvm use v4

Install ltzcore

Use npm to install ltzcore globally for the `ltzcore` user.

npm install -g ltzcore

Note: Do not run this command with `sudo` or with *root privileges* as this will lead to [permission issues](

Configure ltzcore

Before starting the node and beginning the blockchain sync, you may want to configure the services available or litecoinz network settings. These options are documented in the [Full Node] guide.

Edit and Copy the Upstart Config

Once you are finished configuring your node, view or edit the upstart config file in ltzcore at `etc/init/ltzcored.conf` to make any changes specific to your environment.

Then copy the file to `/etc/init/ltzcored.conf`

sudo cp etc/init/ltzcored.conf /etc/init/

Start the Service Manually

The daemon will start on next system restart, or you can start it manually.

service ltzcored start

View the Logs

Logs can be found by default in `/var/log/upstart/ltzcored.log`

Daemon Setup Complete

`ltzcored` will now start and stop as part of normal system startup/shutdown.