summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1c1720f..4f6b3de 100644
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,8 @@ install:
prod: build
make stop
cp gowebd /usr/bin/gowebd
+ # allow the binary to open ports below 1024
+ setcap 'cap_net_bind_service=+ep' /usr/bin/gowebd
make start
make log