summaryrefslogtreecommitdiffstats
path: root/run-server.sh
blob: ddd16dfe8e71d4923bb1eee0fd8ab96a769c3cf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# Copyright (c) 2012-2013 Kaarle Ritvanen
# See LICENSE file for license details

cd $(dirname $0)

exec uwsgi -M --http-socket :${1:-80} \
    --plugin /usr/lib/uwsgi/lua_plugin.so --lua server.lua \
    --remap-modifier 6:0 \
    --static-map /browser=web --static-index client.html