diff options
Diffstat (limited to 'cmd')
-rwxr-xr-x | cmd/caddy/setcap.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/caddy/setcap.sh b/cmd/caddy/setcap.sh new file mode 100755 index 0000000..d777e5a --- /dev/null +++ b/cmd/caddy/setcap.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +# USAGE: go run -exec ./setcap.sh <args...> + +sudo setcap cap_net_bind_service=+ep "$1" +"$@" |