Quickly deploy Syncplay server
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.

19 lines
387 B

#!/bin/sh
args="--salt=$SALT"
[ -n "$TLS" ] && args="$args --tls=$TLS"
[ -n "$PORT" ] && args="$args --port=$PORT"
[ -n "$ISOLATE" ] && args="$args --isolate-rooms"
[ -n "$PASSWORD" ] && args="$args --password=$PASSWORD"
if [ -n "$MOTD" ]; then
echo "$MOTD" >> /app/syncplay/motd
args="$args --motd-file=/app/syncplay/motd"
fi
PYTHONUNBUFFERED=1 exec syncplay-server $args $@