view scripts/mapsearch.sysvinit.cfg @ 2491:0fbd68ddd363

More updates.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 18 Apr 2023 12:54:06 +0300
parents 4f2cda3224f8
children 72a3b687e6ce
line wrap: on
line source

# Configuration file /etc/default/mapsearch
# for Pupunen MapSearch daemon SysV init script

# Mercurial repository URLs for maputils and th-libs
MAPSEARCH_REPO="https://tnsp.org/hg/batmud/maputils"
THLIBS_REPO="https://tnsp.org/hg/th-libs"


# Use mapsearch user and group to drop privileges to
MAPSEARCH_OPTS="-U mapsearch -G mapsearch"

# Use log file and be verbose
MAPSEARCH_OPTS="$MAPSEARCH_OPTS -L /var/log/mapsearch.log -v -v"

# Set listening interface(s) + port and SSL certificates
MAPSEARCH_OPTS="$MAPSEARCH_OPTS -l *:4200=tnsp.org:/etc/ssl/certs/tnsp.org.pem:/etc/ssl/private/tnsp.org.key:/etc/ssl/certs/ca-certificates.crt"


# Cache data directory, if -U/-G is used this needs write permission for that user/group
MAPSEARCH_DIR="/var/cache/mapsearch"

# Mapsearch binary location, default is /usr/sbin/mapsearch
#MAPSEARCH_BIN="/usr/sbin/mapsearch"

# PID file location
#MAPSEARCH_PIDFILE="/var/run/mapsearch.pid"


# Set world center / origin
MAPSEARCH_OPTS="$MAPSEARCH_OPTS -w 8192:8192"

# List of maps with offsets to world origin
MAPSEARCH_MAPLIST="laenor:1:1 rothikgen:1311:-1255 lucentium:-634:2345 furnachia:1211:1155 desolathya:-1210:820 renardy:2070:-910"