diff --git a/xwords4/relay/xwrelay.sh b/xwords4/relay/xwrelay.sh index 4ec211ef0..3a37ed739 100755 --- a/xwords4/relay/xwrelay.sh +++ b/xwords4/relay/xwrelay.sh @@ -12,6 +12,27 @@ LOGFILE=/tmp/xwrelay_log.txt date > $LOGFILE +usage() { + echo "usage: $0 start | stop | restart | mkdb" +} + +make_db() { + createdb xwgames + cat | psql xwgames --file - <