Linux Configuration

It is possible to run EFTLink-rest-api as a service, using a third-party wrapper. EFTLink-rest-api is distributed with a version of Tanuki Software Limited Java Service Wrapper.

Note:

You may be required to give script file(s) execution rights. This can be accomplished by opening a terminal window and typing:

sudo chmod +x <PathToFile>

for example, sudo chmod +x /opt/eftlink/eftlink-rest-api.sh

Follow the steps below on how to configure EFTLink to run as a service.

  1. Running EFTLink-rest-api.

    1. From a terminal, change to the directory for EFTLink.

      For example, enter cd /opt/eftlink.

    2. To run EFTLink-rest-api as a service from a terminal, enter the following command sudo./eftlink-rest-api.sh start.

    3. To stop, check the status, or to restart EFTLink-rest-api from a terminal, enter one of the following commands:

      sudo./eftlink-rest-api.sh stop

      sudo./eftlink-rest-api.sh status

      sudo./eftlink-rest-api.sh restart

      sudo./eftlink-rest-api.sh condrestart

  2. Examine the log file Wrapper.log.

    1. The log file can be found in the designated EFTLink folder\log\eftlink-rest-api_wrapper.log

    2. Starting the service and stopping the service are all briefly logged in wrapper.log. This can be used to diagnose any problems.