summaryrefslogtreecommitdiff
path: root/postinst
blob: 82b9e719b808c385a0215caf343f3c512866e325 (plain)
1
2
3
4
5
6
7
#!/bin/sh
set -e

cd /etc/gowebd/

# allow the binary to open ports below 1024
setcap 'cap_net_bind_service=+ep' /usr/bin/gowebd