mirror of
https://github.com/adnanh/webhook.git
synced 2025-06-27 06:48:32 +00:00
Add setuid & setgid options
Only applicable on unix systems, although Go doesn't support Linux at this time.
This commit is contained in:
parent
35d1cedc24
commit
77159d9db6
4 changed files with 58 additions and 4 deletions
|
@ -25,6 +25,10 @@ Usage of webhook:
|
|||
port the webhook should serve hooks on (default 9000)
|
||||
-secure
|
||||
use HTTPS instead of HTTP
|
||||
-setgid int
|
||||
set group ID after opening listening port; must be used with setuid
|
||||
-setuid int
|
||||
set user ID after opening listening port; must be used with setgid
|
||||
-template
|
||||
parse hooks file as a Go template
|
||||
-tls-min-version string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue