summaryrefslogtreecommitdiff
path: root/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'postinst')
-rwxr-xr-xpostinst3
1 files changed, 3 insertions, 0 deletions
diff --git a/postinst b/postinst
index b0f6fd0..e67e381 100755
--- a/postinst
+++ b/postinst
@@ -3,3 +3,6 @@ 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/go.wit.com