daemon

module
v0.0.0-...-c8cb9eb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2026 License: MIT

README

GameAP Daemon

Coverage Status

The server management daemon

Configuration

Configuration file: gameap-daemon.yaml

Base parameters
Parameter Required Type Info
ds_id yes integer Dedicated Server ID
listen_ip no (default "0.0.0.0") string Listen IP
listen_port no (default 31717) integer Listen port
api_host yes string API Host
api_key yes string API Key
log_level no string Logging level (verbose, debug, info, warning, error, fatal)
SSL/TLS

Certificates can be specified either as file paths or as inline PEM values. If both are set, inline values take precedence over file paths.

File paths
Parameter Required Type Info
ca_certificate_file yes* string Path to CA Certificate file
certificate_chain_file yes* string Path to Server Certificate file
private_key_file yes* string Path to Server Private Key file
private_key_password no string Server Private Key Password
dh_file no string Path to Diffie-Hellman file
Inline PEM values
Parameter Required Type Info
ca_certificate yes* string CA Certificate PEM
certificate_chain yes* string Server Certificate PEM
private_key yes* string Server Private Key PEM

* For each certificate, either the file path or the inline PEM value must be provided.

Inline PEM example:

ca_certificate: |
  -----BEGIN CERTIFICATE-----
  MIIDPTCCAiWgAwIBAgIRAIy/eAu45373SY5SxmS8HsowDQYJKoZIhvcNAQELBQAw
  ...
  -----END CERTIFICATE-----
certificate_chain: |
  -----BEGIN CERTIFICATE-----
  MIIDPTCCAiWgAwIBAgIRAIy/eAu45373SY5SxmS8HsowDQYJKoZIhvcNAQELBQAw
  ...
  -----END CERTIFICATE-----
private_key: |
  -----BEGIN PRIVATE KEY-----
  MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCaJGeZltblsjgD
  ...
  -----END PRIVATE KEY-----
Base Authentification
Parameter Required Type Info
password_authentication no boolean Login+password authentification
daemon_login no string Login. On Linux if empty or not set will be used Linux PAM
daemon_password no string Password. On Linux if empty or not set will be used Linux PAM
Stats
Parameter Required Type Info
if_list no string Network interfaces list
drives_list no string Disk drivers list
stats_update_period no integer Stats update period
stats_db_update_period no integer Update database period
Other
Only on Windows
Parameter Required Type Info
7zip_path no string Path to 7zip file archiver. Example: "C:\Program Files\7-Zip\7z.exe"
starter_path no string Path to GameAP Starter. Example: "C:\gameap\gameap-starter.exe"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL