# The name of the miner
CUSTOM_NAME=apoolminer

# Optional version of your custom miner package
# CUSTOM_VERSION=v2.7.3
APOOLMINER_PATH="/hive/miners/custom/${CUSTOM_NAME}/apoolminer"
CURRENT_VERSION=$($APOOLMINER_PATH -V | awk '{print $NF}')
CUSTOM_VERSION=$CURRENT_VERSION

# Full path to miner config file
CUSTOM_CONFIG_FILENAME=/hive/miners/custom/${CUSTOM_NAME}/${CUSTOM_NAME}.conf

# Full path to log file basename. WITHOUT EXTENSION (don't include .log at the end)
# Used to truncate logs and rotate,
# E.g. /var/log/miner/mysuperminer/somelogname (filename without .log at the end)
CUSTOM_LOG_BASENAME=/var/log/miner/$CUSTOM_NAME/$CUSTOM_NAME

# Port for rest api
MINER_REST_PORT=5001
