gowebd/postinst

8 lines
129 B
Bash
Executable File

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