mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 09:22:05 +00:00
Allow server to bind to low-numbered ports
This commit is contained in:
parent
fc246dc568
commit
24c94777f5
@ -793,8 +793,8 @@ int mainEntryClickHouseInstall(int argc, char ** argv)
|
|||||||
std::string command = fmt::format("command -v setcap >/dev/null"
|
std::string command = fmt::format("command -v setcap >/dev/null"
|
||||||
" && command -v capsh >/dev/null"
|
" && command -v capsh >/dev/null"
|
||||||
" && capsh --has-p=cap_net_admin,cap_ipc_lock,cap_sys_nice,cap_net_bind_service+ep >/dev/null 2>&1"
|
" && capsh --has-p=cap_net_admin,cap_ipc_lock,cap_sys_nice,cap_net_bind_service+ep >/dev/null 2>&1"
|
||||||
" && setcap 'cap_net_admin,cap_ipc_lock,cap_sys_nice+ep' {0}"
|
" && setcap 'cap_net_admin,cap_ipc_lock,cap_sys_nice,cap_net_bind_service+ep' {0}"
|
||||||
" || echo \"Cannot set 'net_admin' or 'ipc_lock' or 'sys_nice' capability for clickhouse binary."
|
" || echo \"Cannot set 'net_admin' or 'ipc_lock' or 'sys_nice' or 'net_bind_service' capability for clickhouse binary."
|
||||||
" This is optional. Taskstats accounting will be disabled."
|
" This is optional. Taskstats accounting will be disabled."
|
||||||
" To enable taskstats accounting you may add the required capability later manually.\"",
|
" To enable taskstats accounting you may add the required capability later manually.\"",
|
||||||
fs::canonical(main_bin_path).string());
|
fs::canonical(main_bin_path).string());
|
||||||
|
Loading…
Reference in New Issue
Block a user