marmots/config.py
2020-06-27 11:21:34 -04:00

24 lines
935 B
Python

# Port to run the telnet server on.
PORT_TELNET = 19999
# Port to run the flash policy server on. Set to None to turn off.
PORT_FLASHPOLICY = 20001
# Hostname to bind servers on. Leave as "" for all.
BIND_HOSTNAME = ""
# width and height; default 80x25
W = 80
H = 25
# directory to save ANSI pictures to. leave as "." for current directory. no trailing slash required. "" == /
DIR_ANSI = "."
# authorization. Options are "Noop" (make up a username, no password), "Drupal" (fetches from MySQL Drupal database)
AUTH = "Noop"
# if Drupal, configure these options:
#drupaldb = "database"
#drupaldb_user = "user"
#drupaldb_password = "password"
#drupaldb_host = "localhost"
# Port to run the command server on. Set to None to turn off. Only set this port for testing: it will allow anyone to take down the server!
PORT_CMDSERVER = 20002
# Flag whether we should build and use Cython modules to improve performance.
USE_CYTHON = True