description |
---|
Lucid node production deployement guide. |
You need to download and copy the lucid
binary to the /usr/bin/
directory. See latest Github release.
$ wget https://github.com/lucid-kv/lucid/releases/latest/download/lucid.zip
$ tar -xvf lucid.zip
$ mv lucid /usr/bin/
$ rm -rf lucid.zip
To create a systemd service you need to create the following file.
$ nano /etc/systemd/system/lucid.service
[Unit]
Description=Lucid KV Store
[Service]
ExecStart=/usr/bin/lucid
Restart=always
RestartSec=10
KillSignal=SIGINT
SyslogIdentifier=lucid
User=root
[Install]
WantedBy=multi-user.target
$ systemctl enable lucid
$ systemctl start lucid