Systemd
Last updated
Last updated
This document assumes /home/ubuntu
is the server user home directory, make sure to change it to fit the directory of your choice.
Prerequisites:
Install to clone the zen-oracle repository
Install . If you choose to install via a package manager, add Mono's own repository first.
Install the Headless Node and import a funded account
Cron (Optional)
Install
Save it in path: /etc/systemd/system/zen-oracle.service
Get the oracle service (from GitLab)
Build the oracle service
Create /etc/systemd/system/zen-oracle.service
service file as mentioned above
Put all the environment variables assignments in the file /home/ubuntu/services/scripts/env
Follow node deployment instructions and be sure to have the zen-node service enabled
Enable Zen-Oracle
Start MongoDB
Start Zen-Oracle Server
Make sure all the environment variables are provided and correct
zen_path : path of the oracle committer
zen_wallet_password: password of the F# wallet
zen_node_uri: uri of the node
oracle_api: uri:port
api port for oracle requests
In order to commit at a precise time we suggest to use a script in a cron job to take care of the commitment.