Skip to content

Utility Scripts

Abdullah Shah edited this page Jan 5, 2018 · 1 revision

iccr-ctl is used to control the ICCR process when starting, writes the ICCR process ID PID to the file /opt/iccr/iccr.pid supports the following command line arguments to control the ICCR process: stop start restart status.

It also supports nossl, debugcommand line arguments withstartorrestart`.

checkiotastatus.bash is used by the ICCR to determine if the IOTA IRI process is running sets a status code of 0 if the IOTA IRI is running sets a status code of 1 if the IOTA IRI is stopped or crashed.

restarticcr.bash is used when the ICC application executes the ICCR Restful API operation to restart the ICCR executes iccr-ctl restart.

startiota.bash is used when the ICC application executes the ICCR Restful API operation to start the IOTA IRI. It uses the IOTA start command and port number properties defined in iccr.properties stores the IOTA process ID PID to /opt/iota/iota.pid, redirects the IOTA IRI process output to /opt/iota/console.log

stopiota.bash is used when the ICC application executes the ICCR Restful API operation to stop the IOTA IRI. It uses the PID in /opt/iota/iota.pid, sends a kill signal to the IOTA IRI PID to allow for orderly shutdown

Clone this wiki locally