diff options
| author | Jeff Carr <[email protected]> | 2025-06-29 21:15:29 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-06-29 21:15:29 -0500 |
| commit | 4bc92ccddd52c0a7454247cb226ce085e62394e8 (patch) | |
| tree | 82c74485c62db923fde2cf4a3e5827e780c02a16 /postinst | |
initial start after split from gowebdv0.0.1
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 |
