summaryrefslogtreecommitdiff
path: root/postinst
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-08 11:32:37 -0500
committerJeff Carr <[email protected]>2024-10-08 11:32:37 -0500
commit1f00dfb03e40a991c75ab6953659def76cf285af (patch)
tree5520747fdd36db255fe1bc4160444c51ac6e84e3 /postinst
parent892b4cc2a8c080df6c0b9a432a5105f4a595348c (diff)
misc
Signed-off-by: Jeff Carr <[email protected]>
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