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.
-
Running EFTLink-rest-api.
-
From a terminal, change to the directory for EFTLink.
For example, enter cd /opt/eftlink.
-
To run EFTLink-rest-api as a service from a terminal, enter the following command
sudo./eftlink-rest-api.sh start
. -
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
-
-
Examine the log file Wrapper.log.
-
The log file can be found in the designated EFTLink folder\log\eftlink-rest-api_wrapper.log
-
Starting the service and stopping the service are all briefly logged in wrapper.log. This can be used to diagnose any problems.
-