Files
Vangers/server/docker-cmd.sh
Alexander Guryanov 700583b7aa Server Dockerfile
2021-06-25 11:46:04 +07:00

12 lines
255 B
Bash

#!/bin/bash
# start websockify as daemon
websockify --cert $CER_FILE --key $KEY_FILE $SERVER:2198 $SERVER:2197 -D
status=$?
if [ $status -ne 0 ]; then
echo "Failed to start websockify: $status"
exit $status
fi
# start the vangers server
./bin/server