Skip to content
Riversoft STCP Gemini Server

Riversoft STCP Gemini Server

Configuration of Riversoft® STCP Gemini Server, responsible for OFTP transfers.

Create the file from the template:

cd /usr/local/stcp/configs
cp example-stcpserver.config.json stcpserver.config.json

Instance (ApplName)

Riversoft STCP Gemini Server runs the instance created in the Riversoft Console Portal. Set the instance name in ApplName.

Important

The ApplName value must be identical to the instance name registered in the Portal. Without a configured instance, the service does not start.

{
  "Module": "stcpgemini-server",
  "Version": "1.0",
  "Description": "Configuration parameters STCP Gemini OFTP Server Linux",
  "Modules": {
    "STCPCore": {
      "ApplName": "INSTANCIATESTE",
      "ApplDescription": "",
      "ApplUser": "stcp",
      "ApplGroup": "stcp",
      "ApplDir": "/usr/local/stcp/",
      "ApplLockDir": "/usr/local/stcp/control",
      "ApplPidFile": "/var/run/stcpserver.pid",
      "ApplUmask": "0022",
      "ApplDaemon": "0",
      "ApplMsgFileName": "/usr/local/stcp/configs/stcplang.json",
      "ApplMsgLanguage": "ptb",
      "ApplConfigPassPhrase": "<secret-passphrase>",
      "ApplDebug": "0",
      "ApplMaximunConsoleMsgs": "100",
      "ApplMaximunAsyncProcesses": "2048"
    },
    "STCPCfg": {
      "DLLName": "libstcpcfgmysql.so",
      "DBName": "GEMINI_DBConfig",
      "DBHost": "db.example.com",
      "DBPort": "3306",
      "DBUser": "<user>",
      "DBPswd": "<password>",
      "MaxConfigTxt": "8192",
      "MaxExtraTxt": "8192"
    }
  }
}
  • STCPCore sets the instance, the run user and group, the directories and the process limits.
  • STCPCfg sets the configuration access library (DLLName) and the configuration database connection. Use the library for the environment’s DBMS:
DBMSDLLName
Microsoft SQL Serverlibstcpcfgodbc.so
Oracle Databaselibstcpcfgoracle.so
MySQL and MariaDBlibstcpcfgmysql.so

Parameters: Riversoft STCP Gemini Server.