gowebd/postinst

9 lines
166 B
Plaintext
Raw Normal View History

#!/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