Server: Make unix socket permission configurable (#52944)

This commit is contained in:
unknowndevQwQ
2022-11-01 22:04:01 +08:00
committed by GitHub
parent 44069b64cd
commit 6dd3584f77
5 changed files with 42 additions and 3 deletions

View File

@@ -66,6 +66,15 @@ enable_gzip = false
cert_file =
cert_key =
# Unix socket gid
# Changing the gid of a file without privileges requires that the target group is in the group of the process and that the process is the file owner
# It is recommended to set the gid as http server user gid
# Not set when the value is -1
socket_gid = -1
# Unix socket mode
socket_mode = 0660
# Unix socket path
socket = /tmp/grafana.sock