Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
changelogs
files
README.md
after-install.sh
iri.service

README.md

Package Builder - IOTA Reference Implementation

This repository contains a package contents and scripts for IRI. More information, the original source and releases can be found at:

https://github.com/iotaledger/iri

Table of Contents

Requirements

The IRI requires Java, which is added as a subdependency of the package. It will install 'default java runtime environment (JRE)' on debian based operating system and 'Java OpenJDK' on redhat based operating syetems.

Files

  • /usr/share/iri.ini.defaults
  • /usr/share/java.properties.defaults
  • /usr/bin/iri_install_snapshot
  • /var/lib/iri/iri.jar

Configuration

The config files for the IRI are stored in /etc/iri/. There you can modify the iri default config and java properties separately. The java properties set the amount of memory IRI for example. The iri.ini file has the following properties:

[IRI]
PORT = 14265
UDP_RECEIVER_PORT = 14600
TCP_RECEIVER_PORT = 15600
API_HOST = 0.0.0.0
IXI_DIR = /var/lib/iri/ixi
HEADLESS = true
DEBUG = false
TESTNET = false
DB_PATH = /var/lib/iri/db
RESCAN_DB = false
ZMQ_ENABLED = true
ZMQ_PORT = 5556

REMOTE_LIMIT_API = "removeNeighbors, addNeighbors, getNeighbors, setApiRateLimit"

NEIGHBORS =

More information about the properties can be found in the IRI repository

Service management

The IRI can be managed by Systemd, with the following commands:

# Start
systemctl start iri

# Stop
systemctl stop iri

# Restart
systemctl restart iri

# Status
systemctl status iri

Logs

Systemd services stores the log files in syslog (/var/log/syslog). If you like to display logs of the iri you can use the following command:

journalctl -u iri.service
You can’t perform that action at this time.