summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2021-02-24 11:55:56 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2021-02-24 11:55:56 -0700
commitb54fa4123975195c721ff5a5c0b43c4622009676 (patch)
tree26ab0253aadf11a175af9ac0f800cdf0458649f8 /cmd
parent427bbe99d076a76766266d1386ce16a38ce56fa6 (diff)
Update docs; commit setcap.sh
Diffstat (limited to 'cmd')
-rwxr-xr-xcmd/caddy/setcap.sh6
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"
+"$@"