You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
368 B
21 lines
368 B
#!/bin/sh
|
|
|
|
if [ "$DOOM_SERVER_PUBLIC" = "true" ]; then
|
|
DOOM_SERVER_PUBLIC="-server"
|
|
else
|
|
DOOM_SERVER_PUBLIC="-privateserver"
|
|
fi
|
|
|
|
if [ -n "$DOOM_SERVER_NAME" ]; then
|
|
DOOM_SERVER_NAME="-servername ${DOOM_SERVER_NAME}"
|
|
else
|
|
DOOM_SERVER_NAME=""
|
|
fi
|
|
|
|
set -eux
|
|
|
|
crispy-server \
|
|
-port "${DOOM_SERVER_PORT:-2342}" \
|
|
${DOOM_SERVER_PUBLIC} \
|
|
"${DOOM_SERVER_NAME}"
|
|
|
|
|