aports/testing/porla/porla.confd
Fabricio Silva 74f2bbc695 testing/porla: new aport
https://porla.org/
A high performance BitTorrent client for servers and seedboxes.
2024-10-22 21:58:13 +00:00

30 lines
1.9 KiB
Bash

# porla configuration options
command_user="porla:porla" # user:group
supervisor="supervise-daemon"
umask=0002
directory="/var/lib/porla"
logdir="/var/log/porla"
output_log="$logdir/output.log"
error_log="$logdir/error.log"
# https://porla.org/configuration
export PORLA_LOG_LEVEL=debug # the minimum log level to use. Valid values are trace, debug, info, warning, error, fatal. Defaults to info.
export PORLA_STATE_DIR="$directory" # a path to a directory where Porla will store its state.
export PORLA_WORKFLOW_DIR="$directory/workflows" # the path to where Porla will load user workflows from.
export PORLA_CONFIG_FILE="$directory/config.toml" # path to a TOML config file with additional configuration.
export PORLA_DB="$directory/porla.sqlite" # path a file (which does not need to exist) that porla will use to store its state.
export PORLA_HTTP_BASE_PATH=/ # set to a path where the HTTP parts of Porla will be served. Defaults to /.
export PORLA_HTTP_HOST=127.0.0.1 # set to an IP address which to bind the HTTP server. Defaults to 127.0.0.1.
export PORLA_HTTP_METRICS_ENABLED=true # set to true/false to enable or disable the metrics endpoint. Defaults to true.
export PORLA_HTTP_PORT=1337 # set to the port to use for the HTTP server. Defaults to 1337.
export PORLA_HTTP_AUTH_DISABLED_YES_REALLY=false # set to true to disable HTTP JWT authentication (not recommended).
export PORLA_SESSION_SETTINGS_BASE="default" # the libtorrent settings base to use for session settings. Valid values are default, min_memory_usage, high_performance_seed. Defaults to default.
export PORLA_TIMER_DHT_STATS=5000 # the interval in milliseconds to push DHT stats. Defaults to 5000.
export PORLA_TIMER_SESSION_STATS=5000 # the interval in milliseconds to push session stats. Defaults to 5000.
export PORLA_TIMER_TORRENT_UPDATES=1000 # the interval in milliseconds to push torrent state updates. Defaults to 1000.