#!/bin/sh
set -e
cd /etc/gowebd/
ln -s /usr/share/gowebd/go.wit.com .
# allow the binary to open ports below 1024
setcap 'cap_net_bind_service=+ep' /usr/bin/gowebd