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

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

cd $(dirname $0)

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