From 1f00dfb03e40a991c75ab6953659def76cf285af Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 8 Oct 2024 11:32:37 -0500 Subject: misc Signed-off-by: Jeff Carr --- postinst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'postinst') 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 -- cgit v1.2.3