view scripts/mapsearch.sysvinit.cfg @ 2099:f17a1b4bc259

Improve mapsearch SysV init scripts.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 10 Sep 2019 16:22:53 +0300
parents 6fbd7ff22922
children 4f2cda3224f8
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="http://pupunen.net/hg/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"


# 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"