diff options
Diffstat (limited to 'postinst')
| -rwxr-xr-x | postinst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/postinst b/postinst new file mode 100755 index 0000000..82b9e71 --- /dev/null +++ b/postinst @@ -0,0 +1,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 |
