view scripts/mapsearch.sysvinit.cfg @ 2495:72a3b687e6ce

Update mapsearch SysV init scripts.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 19 Jun 2023 01:33:05 +0300
parents 0fbd68ddd363
children
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 and maps
MAPSEARCH_OPTS="$MAPSEARCH_OPTS
	-D ${MAPSEARCH_DIR}/world/
	-w 8192:8192
	laenor.map:laenor.loc:laenor:1:1
	rothikgen.map:rothikgen.loc:rothikgen:1311:-1255
	lucentium.map:lucentium.loc:lucentium:-634:2345
	furnachia.map:furnachia.loc:furnachia:1211:1155
	desolathya.map:desolathya.loc:desolathya:-1210:820
	renardy.map:renardy.loc:renardy:2070:-910
"