gowebd/postinst

8 lines
129 B
Plaintext
Raw Normal View History

#!/bin/sh
set -e
cd /etc/gowebd/
# allow the binary to open ports below 1024
setcap 'cap_net_bind_service=+ep' /usr/bin/gowebd